Beispiel #1
0
 void Update()
 {
     VariablesUpdate();
     WalkAnim();
     if (AnimationData.CanJump())
     {
         AnimPlay("Jump");
     }
     if (PlayerInfo.isFalling)
     {
         AnimPlay("Falling");
     }
     if (AnimationData.CanMove())
     {
         AnimPlay("NormalMove");
     }
     if (PlayerInfo.isUsingDHCPower)
     {
         AnimPlay("DHCPower");
     }
     if (PlayerInfo.isDashing)
     {
         AnimPlay("Dash");
     }
 }