Exemple #1
0
    public void StopUnityRecorder()
    {
#if UNITY_EDITOR
        RecorderWindow recorderWindow = GetRecorderWindow();
        if (recorderWindow.IsRecording())
        {
            recorderWindow.StopRecording();
        }

        foreach (inputs i in ram.inputs)
        {
            i.VoiceRecorder.SaveAndCloseFile();
        }
#endif
    }
Exemple #2
0
    public void StartUnityRecorder()
    {
#if UNITY_EDITOR
        RecorderWindow recorderWindow = GetRecorderWindow();

        if (!recorderWindow.IsRecording())
        {
            recorderWindow.StartRecording();
        }

        foreach (inputs i in ram.inputs)
        {
            i.VoiceRecorder.StartRecording();
        }
#endif
    }
Exemple #3
0
 public void SetUp()
 {
     window = EditorWindow.GetWindow <RecorderWindow>();
 }
 private static void ShowRecorderWindow()
 {
     RecorderWindow.ShowAndPreselectCategory("Animation");
 }
Exemple #5
0
 static void ShowRecorderWindow()
 {
     RecorderWindow.ShowAndPreselectCategory("Video");
 }