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