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;
    }
Exemple #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;
 }
Exemple #4
0
 void Awake()
 {
     instance = this;
 }
Exemple #5
0
 void ClickCaptureButton()
 {
     StartCoroutine(ScreenshotPreview.CaptureAndShowPreviewImage()); // Start coroutine for screenshot function.
 }