private void Awake()
    {
        //disable the delete confirmation panel
        DoConfirmDeleteNo();

        //create a handle for ScreenshotPreview script,
        //so that the methods from it can be used here
        ssP = GameObject.FindObjectOfType(typeof(ScreenshotPreview)) as ScreenshotPreview;
    }
Esempio n. 2
0
 public void ClickCapture()
 {
     if (!isDebug)
     {
         StartCoroutine(ScreenshotPreview.CaptureAndShowPreviewImage());
     }
     else
     {
         StartCoroutine(ScreenshotPreview.CaptureAndShowPreviewImage(capturedImage));
     }
 }
 private void Awake()
 {
     //create a handle for ScreenshotPreview script,
     //so that the methods from it can be used here
     ssP = GameObject.FindObjectOfType(typeof(ScreenshotPreview)) as ScreenshotPreview;
 }
Esempio n. 4
0
 void Awake()
 {
     instance = this;
 }
Esempio n. 5
0
 void ClickCaptureButton()
 {
     StartCoroutine(ScreenshotPreview.CaptureAndShowPreviewImage()); // Start coroutine for screenshot function.
 }