Beispiel #1
0
        public override void StateEnter()
        {
            jump_transition     = false;
            standing_transition = false;

            machine._timeSinceLastAbleToJump = 0f;  //Reset our jump buffer
            machine._jumpConsumed            = false;

            machine.GetComponentInChildren <Animator>().SetBool("climbing", true);
            machine.climbing_surface = null;
        }
Beispiel #2
0
 public override void StateEnter()
 {
     machine.GetComponentInChildren <Animator>().SetBool("jump", true);
     can_climb = false;
 }
Beispiel #3
0
 public override void StateEnter()
 {
     machine.GetComponentInChildren <Animator>().SetBool("walk", true);
 }