Esempio n. 1
0
    public void takeScreenShot()
    {
        isScreenShotSaved      = false;
        isScreenShotSaveFailed = false;

        // Capture
        StartCoroutine(ScreenshotCapture.Capture(
                           Const.SC_NAME,
                           callbackCapture)
                       );
    }
Esempio n. 2
0
    public void capture()
    {
        counter++;
        string str = "Capture Count\n" + counter;

        _label.text = str;

        // Capture
        StartCoroutine(ScreenshotCapture.Capture(
                           fileName,
                           callbackCapture)
                       );

        _wall.SetActive(true);
    }