void Update() { time += Time.deltaTime; if (time > 6) { listener.StopRecording(); time = 0; listener.BeginRecord(); } }