Exemplo n.º 1
0
 public void SetUpScreenshot()
 {
     if (hasAccessedScreenshot == -1)
     {
         hasAccessedScreenshot = PlayerPrefs.GetInt("FirstScreenshot", 0);
     }
     if (hasAccessedScreenshot == 0)
     {
         UIManager.GetComponent <UIManagerScript>().SetUpPanel("Welcome to your Spaces Camera Roll", "Move around the camera with your fingers to find the perfect shot to take of your avatar! Your photo will be saved to your camera roll and you will be gicen the option to share on other platforms!", "Go!");
         PlayerPrefs.SetInt("FirstScreenshot", 1);
         hasAccessedScreenshot = 1;
     }
     UIManager.GetComponent <UIManagerScript>().TakeScreenshot(true);
     mainCam.ToggleRotateCamera(true);
 }
 void ToggleScreenshot(bool open)
 {
     uiManager.GetComponent <UIManagerPublicScript>().ToggleScreenshot(open);
     mainCam.ToggleRotateCamera(open);
 }