Example #1
0
 protected void Update()
 {
     if (CK_Gui.IsDown())
     {
         uiShow            = !uiShow;
         ResolutionXBuffer = ResolutionX.Value.ToString();
         ResolutionYBuffer = ResolutionY.Value.ToString();
     }
     else if (CK_CaptureAlpha.IsDown())
     {
         StartCoroutine(TakeCharScreenshot(false));
     }
     else if (CK_Capture.IsDown())
     {
         TakeScreenshot();
     }
     else if (CK_Capture360.IsDown())
     {
         StartCoroutine(Take360Screenshot(false));
     }
     else if (CK_CaptureAlphaIn3D.IsDown())
     {
         StartCoroutine(TakeCharScreenshot(true));
     }
     else if (CK_Capture360in3D.IsDown())
     {
         StartCoroutine(Take360Screenshot(true));
     }
 }
 void Update()
 {
     if (CK_Gui.IsDown())
     {
         showingUI = !showingUI;
     }
     else if (CK_CaptureAlpha.IsDown())
     {
         StartCoroutine(TakeCharScreenshot());
     }
     else if (CK_Capture.IsDown())
     {
         TakeScreenshot();
     }
 }
 protected void Update()
 {
     if (CK_Gui.IsDown())
     {
         uiShow = !uiShow;
     }
     else if (CK_CaptureAlpha.IsDown())
     {
         StartCoroutine(TakeCharScreenshot());
     }
     else if (CK_Capture.IsDown())
     {
         TakeScreenshot();
     }
 }