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();
 }