Blue Bear Final Tweaks (#581)

* scaled animations + barely + new curves

* emotion system revamped

* Whiff sound!!!
This commit is contained in:
Rapandrasmus
2023-11-22 02:07:35 +01:00
committed by GitHub
parent 9334cb76ab
commit a96879db8b
6 changed files with 244 additions and 538 deletions

View File

@ -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