Advertisement
Guest User

ARCamera Toggle

a guest
Aug 18th, 2014
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.18 KB | None | 0 0
  1. ARCamera.SetActive (_toACTIVATE);
  2. if(GameObject.Find("BackgroundCamera(Clone)") != null)
  3. {
  4.     GameObject.Find("BackgroundCamera(Clone)").GetComponent<Camera>().enabled = _toACTIVATE;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement