public override void OnCollisionEnter(PlayerControllerFSM player, Collision other) { player.TransitionToState(player.idle); }
public override void EnterState(PlayerControllerFSM player) { // Apply jump force when we enter this state. player.Jump(); player.SetFacialExpression(player.jumpingSprite); }