public void StopUnityRecorder() { #if UNITY_EDITOR RecorderWindow recorderWindow = GetRecorderWindow(); if (recorderWindow.IsRecording()) { recorderWindow.StopRecording(); } foreach (inputs i in ram.inputs) { i.VoiceRecorder.SaveAndCloseFile(); } #endif }
public void StartUnityRecorder() { #if UNITY_EDITOR RecorderWindow recorderWindow = GetRecorderWindow(); if (!recorderWindow.IsRecording()) { recorderWindow.StartRecording(); } foreach (inputs i in ram.inputs) { i.VoiceRecorder.StartRecording(); } #endif }