Ejemplo n.º 1
0
 public void ToggleCaputreScreenshot(bool isTakingShot)
 {
     CameraFlashButton.SetActive(!isTakingShot);
     CancelScreenShotButton.SetActive(!isTakingShot);
     SpeakingPanel.SetActive(!isTakingShot);
     ScreenshotLogo.SetActive(isTakingShot);
     ScreenshotName.SetActive(isTakingShot);
 }
 public void ToggleCaputreScreenshot(bool isTakingShot)
 {
     CaptureScreenShotB.SetActive(!isTakingShot);
     CancelScreenShotB.SetActive(!isTakingShot);
     ScreenshotLogo.SetActive(isTakingShot);
     ScreenshotName.SetActive(isTakingShot);
     uiManager.GetComponent <UIManagerPublicScript>().ToggleEmotions(!isTakingShot);
 }
 public void CaputreScreenshotResult(bool success)
 {
     if (success)
     {
         ScreenshotName.SetActive(false);
         ScreenshotLogo.SetActive(false);
         SuccessScreenShotB.SetActive(true);
         ShareScreenShotB.SetActive(true);
     }
     else
     {
         ToggleCaputreScreenshot(false);
         SetUpPanel("There was an error taking your screenshot", "In settings, make sure you have permissions enabled for spaces to take screenshots", "try again");
     }
 }