public void FloatingTriggered()
 {
     if (!isCoolingDown && !isFloating)
     {
         isFloating = true;
         microphoneInputScript.StartInput();
     }
 }
Пример #2
0
 private void EnterAttack()
 {
     _currentState = AIState.Attack;
     agent.speed   = runSpeed;
     SetColour(Color.red);
     // Make sure the mic is accepting micInput
     micInput.StartInput();
 }