Пример #1
0
 public override void Update()
 {
     if (PlayerController.especialAtackTriggered == false)
     {
         CharacterStateSetter.CheckIdleState();
         CharacterStateSetter.CheckWalkCommand();
     }
 }
Пример #2
0
 public override void Update()
 {
     if (PlayerController.Grounded)
     {
         CharacterStateSetter.CheckIdleState();
     }
     CharacterStateSetter.CheckWalkCommand();
 }
Пример #3
0
 public override void Update()
 {
     if (Time.time >= NextStateTime)
     {
         CharacterStateSetter.CheckIdleState();
         CharacterStateSetter.CheckWalkCommand();
     }
 }
Пример #4
0
 public override void Update()
 {
     if (PlayerController.CharacterInput.Enabled)
     {
         CharacterStateSetter.CheckWalkCommand();
         CharacterStateSetter.CheckJumpCommand();
         CharacterStateSetter.CheckPunchCommand();
         CharacterStateSetter.CheckKickCommand();
         CharacterStateSetter.CheckBlockCommand();
         CharacterStateSetter.CheckEspecialAtackCommand();
     }
     PlayerController.Idle();
 }
Пример #5
0
        public override void Update()
        {
            if (!PlayerController.CharacterInput.GetBlockCommand())
            {
                CharacterStateSetter.CheckIdleState();
                CharacterStateSetter.CheckWalkCommand();
                CharacterStateSetter.CheckJumpCommand();
                CharacterStateSetter.CheckPunchCommand();
                CharacterStateSetter.CheckKickCommand();
                CharacterStateSetter.CheckEspecialAtackCommand();
            }

            PlayerController.Block();
        }