public override void Enter(CharControlMotor player)
 {
     player.GroundExit();
     player.ChangeBounds(0);
     player.invincible   = true;
     player.halfGravity  = true;
     player.attacking    = false;
     player.GotHurtCheck = true;
 }
Exemplo n.º 2
0
 public override void Enter(CharControlMotor player)
 {
     player.GroundExit();
     player.EnableCollision(false);
     player.attacking           = false;
     player.Death               = true;
     player.disableSkinRotation = true;
     player.disableCameraFollow = true;
     player.velocity            = Vector3.zero;
     player.velocity.y          = player.stats.diePushUp;
     player.PlayAudio(player.audios.death);
 }