mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 10:37:37 +02:00
joe prepare animation
- bg effect preview (buggy) - adjusted path of hit items - adjusted particle limits and spawning - rain is now affected by wind - cont. work on joe expressions - animation helper sync scale now plays thru events properly - adjusted timing windows
This commit is contained in:
@ -24,7 +24,7 @@ namespace HeavenStudio.Util
|
||||
{
|
||||
float pos = Conductor.instance.GetPositionFromBeat(startTime, length) * timeScale;
|
||||
anim.Play(animName, animLayer, pos);
|
||||
anim.speed = 0;
|
||||
anim.speed = 1f; //not 0 so these can still play their script events
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -37,7 +37,7 @@ namespace HeavenStudio.Util
|
||||
public static void DoNormalizedAnimation(this Animator anim, string animName, float pos = 0f, int animLayer = -1)
|
||||
{
|
||||
anim.Play(animName, animLayer, pos);
|
||||
anim.speed = 0;
|
||||
anim.speed = 1f;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user