mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Dead fairy guard
This commit is contained in:
parent
07353e1787
commit
da5039176b
10 changed files with 80 additions and 27 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue