public void StopRecording(int playerID) { return; if (playerID == 0) { recordedClip1 = Gif.StopRecording(recorder[playerID]); if (recordedClip1 == null) { return; } } else { recordedClip2 = Gif.StopRecording(recorder[playerID]); if (recordedClip2 == null) { return; } } // OpenPlaybackPanel(playerID); }
public void StopRecording() { recordedClip = Gif.StopRecording(recorder); startRecordingButton.SetActive(true); stopRecordingButton.SetActive(false); recordingMark.SetActive(false); }
public override void OnEnter() { var newClip = Gif.StopRecording((Recorder)recorder.Value); var newClipProxy = AnimatedClipProxy.CreateClipProxy(newClip); recordedClip.Value = newClipProxy; Finish(); }