コード例 #1
0
        public override void Update()
        {
            CharacterStateSetter.CheckIdleState();
            CharacterStateSetter.CheckJumpCommand();
            CharacterStateSetter.CheckPunchCommand();
            CharacterStateSetter.CheckKickCommand();
            CharacterStateSetter.CheckBlockCommand();
            CharacterStateSetter.CheckEspecialAtackCommand();

            PlayerController.Walk();
        }
コード例 #2
0
 public override void Update()
 {
     if (PlayerController.CharacterInput.Enabled)
     {
         CharacterStateSetter.CheckWalkCommand();
         CharacterStateSetter.CheckJumpCommand();
         CharacterStateSetter.CheckPunchCommand();
         CharacterStateSetter.CheckKickCommand();
         CharacterStateSetter.CheckBlockCommand();
         CharacterStateSetter.CheckEspecialAtackCommand();
     }
     PlayerController.Idle();
 }
コード例 #3
0
        public override void Update()
        {
            if (!PlayerController.CharacterInput.GetBlockCommand())
            {
                CharacterStateSetter.CheckIdleState();
                CharacterStateSetter.CheckWalkCommand();
                CharacterStateSetter.CheckJumpCommand();
                CharacterStateSetter.CheckPunchCommand();
                CharacterStateSetter.CheckKickCommand();
                CharacterStateSetter.CheckEspecialAtackCommand();
            }

            PlayerController.Block();
        }