Ejemplo n.º 1
0
 private void Animations()
 {
     ac.SetOnGround(Ground);
     //移動アニメーションの設定
     ac.SetMovement(vertical, horizontal);
     ac.ExcuteMotion(AnimationControll.MotionType.mt_walk);
 }
Ejemplo n.º 2
0
 private void Animations()
 {
     //animationsControllが着地しているか見れるために
     ac.SetOnGround(Ground);
     //移動アニメーションの設定
     ac.SetMovement(speed, speed);
     ac.ExcuteMotion(AnimationControll.MotionType.mt_walk);
 }
Ejemplo n.º 3
0
    private void Animations()
    {
        //animationsControllが着地しているか見れるために
        ac.SetOnGround(Ground);
        //移動アニメーションの設定
        ac.SetMovement(vertical, horizontal);

        ac.ExcuteMotion(AnimationControll.MotionType.mt_walk);
        if (Input.GetKeyDown(KeyCode.Q))
        {
            ac.ExcuteMotion(AnimationControll.MotionType.mt_opendoor);
        }
    }