You've already forked Darklings-FightingGame
mirror of
https://github.com/izzy2lost/Darklings-FightingGame.git
synced 2026-03-10 11:35:19 -07:00
14 lines
348 B
C#
14 lines
348 B
C#
|
|
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++;
|
||
|
|
}
|
||
|
|
}
|