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"); } }