public virtual void JumpStart() { if (InJumping || !jumpAble) { return; } jumpAble = false; var name = motionAnimControll.MyDic.JumpStartName; if (name == "") { Jump(); } else { motionAnimControll.ChangeAnim(name); rigid.velocity = new Vector3(0, rigid.velocity.y, 0); } }
public void GuardCommand() { Guard(); motionAnimControll.ChangeAnim(motionAnimControll.MyDic.GuardName); }