mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 12:07:41 +02:00
Blue Bear Final Tweaks (#581)
* scaled animations + barely + new curves * emotion system revamped * Whiff sound!!!
This commit is contained in:
@ -90,6 +90,11 @@ namespace HeavenStudio.Util
|
||||
anim.speed = (1f / Conductor.instance.pitchedSecPerBeat) * timeScale;
|
||||
}
|
||||
|
||||
public static void SetScaledAnimationSpeed(this Animator anim, float timeScale = 0.5f)
|
||||
{
|
||||
anim.speed = (1f / Conductor.instance.pitchedSecPerBeat) * timeScale;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Plays animation on animator, at default speed
|
||||
/// this is the least nessecary function here lol
|
||||
|
Reference in New Issue
Block a user