Dead fairy guard

This commit is contained in:
Marco 2025-03-12 13:57:25 +01:00
commit da5039176b
10 changed files with 80 additions and 27 deletions

View file

@ -13,10 +13,8 @@ public partial class Drowning : PlayerStateBase
{
_animationProvider.PlayDrowningAnimation();
// Wait for animation to be over and switch to death
_animationProvider.OnAnimationEnded += AnimationProviderOnOnAnimationEnded;
// Wait for animation over and switch to death
}
private void AnimationProviderOnOnAnimationEnded(StringName animationName)