コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public void GuardCommand()
 {
     Guard();
     motionAnimControll.ChangeAnim(motionAnimControll.MyDic.GuardName);
 }