Ejemplo n.º 1
0
 void OnGUI()
 {
     if (GUI.Button(new Rect(Screen.width / 2, 0, 100, 60), "保留案发现场"))
     {
         if (!isSaving)
         {
             progress = 0f;
             ScreenRecordCtrl.CallScreenRecord(OnProcessingDone, OnFileSaveProgress, OnFileSaved);
         }
     }
 }
Ejemplo n.º 2
0
 void OnDestroy()
 {
     ScreenRecordCtrl.DestroyScreenRecord();
 }
Ejemplo n.º 3
0
 void Start()
 {
     ScreenRecordCtrl.CreateScreenRecord();
 }