Guest User

Untitled

a guest
Jun 18th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. public Controller mPlayer;
  2.  
  3. void start()
  4. {mPlayer = GameObject.Find("Player").GetComponent<Controller>();}
  5.  
  6. void Update()
  7. if (mPlayer.testScript)
  8. {Do Stuff}
Add Comment
Please, Sign In to add comment