Fixed a bug that caused the lightning round intro to never recover from reset.
This commit is contained in:
parent
554add639e
commit
dda2ffcf95
@ -62,6 +62,8 @@ public class LightningRoundEffectsController : UdonSharpBehaviour
|
||||
{
|
||||
if (_Effect != _Effect_Cached)
|
||||
{
|
||||
_Effect_Cached = _Effect;
|
||||
|
||||
switch (_Effect)
|
||||
{
|
||||
case LightningRoundEffect.Thunder:
|
||||
@ -85,8 +87,6 @@ public class LightningRoundEffectsController : UdonSharpBehaviour
|
||||
_Animator.SetBool("Lightning", true);
|
||||
|
||||
SendCustomEventDelayedSeconds(nameof(ResetLightningRoundAnimation), 2.0f);
|
||||
|
||||
_Effect_Cached = _Effect;
|
||||
}
|
||||
}
|
||||
public void ResetLightningRoundAnimation()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user