Files
unknown 2287d47579 Update
2023-01-10 18:39:07 +02:00

17 lines
490 B
C#

public class GrabbedState : State
{
public override void UpdateLogic(PlayerNetwork player)
{
if (!player.enter)
{
player.otherPlayer.enter = false;
player.otherPlayer.state = "Throw";
player.enter = true;
player.animationFrames = 0;
player.player.StopShakeCoroutine();
}
player.velocity = DemonicsVector2.Zero;
player.animation = "HurtAir";
player.animationFrames++;
}
}