Example #1
0
 /// <summary>
 /// 停止录像
 /// </summary>
 public void StopRecorder()
 {
     if (videoRecorder.StopRecording())
     {
         uiText.text = "Recording stop " + videoRecorder.FilePath;
     }
     else
     {
         uiText.text = "Recording failed";
     }
     if (cameraRecorder)
     {
         cameraRecorder.Destroy();
     }
 }
Example #2
0
 /// <summary>
 /// Stop recording a replay
 /// </summary>
 public static void StopRecording()
 {
     CameraRecorder.Destroy(camera);
     NatCorder.StopRecording();
 }