Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. private void Update()
  2. {
  3. if (!isLocalPlayer)
  4. {
  5. return;
  6. //this checks if the code is not running on the local instance of the game
  7. // if it isn't, it stops executing what's next
  8. }
  9.  
  10. //Your Code here
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement