Ejemplo n.º 1
0
 private void CaptureToGhost()
 {
     if (viewManager.transitionGhost.texture != null)
     {
         Destroy(viewManager.transitionGhost.texture);
     }
     viewManager.transitionGhost.texture = ScreenCapturer.GetGameTexture();
     viewManager.transitionGhost.gameObject.SetActive(true);
     gameObject.SetActive(false);
 }