Files

14 lines
348 B
C#
Raw Normal View History

2022-12-26 03:47:56 +02:00
public class DeathState : State
{
public override void UpdateLogic(PlayerNetwork player)
{
if (!player.enter)
{
player.enter = true;
player.animationFrames = 0;
player.player.StopShakeCoroutine();
}
player.animation = "Knockdown";
player.animationFrames++;
}
}