public override void Exit(CharacterState nextState)
 {
     if (character.contactsNumber == 0)
         character.LastLadder = character.Ladder;
     character.body.IgnoreGravity = false;
     character.torso.IgnoreGravity = false;
 }
 public override void Exit(CharacterState nextState)
 {
 }
 public override void Exit(CharacterState nextState)
 {
     character.body.OnCollision -= body_OnCollision;
 }
 public virtual void Exit(CharacterState nextState)
 {
 }