Quantcast
Channel: Questions in topic: "webcamtexture"
Viewing full articles (358 articles)
Browse article index
↧

Priview The Screenshot for User

$
0
0
I want to ask about privew-ing the screenshot after it takes. in this case i want to pause the game and also the webCam devices, its possible to do ? or any other method to show the .jpg file in disk (application persistant data path) after saving ? Thank you. public IEnumerator ShareScreenshot() { isProcessing = true; yield return new WaitForEndOfFrame(); string screenShotPath = Application.persistentDataPath + "/" + ScreenshotName; ScreenCapture.CaptureScreenshot(ScreenshotName); yield return new WaitForSeconds(0.01f); //Pause The WEBCAM Time.timeScale = 0f; optionSave.SetActive(true); isProcessing = false; isCapture = false; uiToInvisible.SetActive(true); Debug.Log(ScreenshotName); }
↧

Viewing full articles (358 articles)
Browse article index

Latest Images

Trending Articles



Latest Images