Advertisement
Munchy2007

Part6c_1

Mar 14th, 2018
8,048
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.21 KB | None | 0 0
  1.         [PunRPC]
  2.         void RPC_AddScore(int amount)
  3.         {
  4.             score += amount;
  5.             if(photonView.isMine)
  6.             {
  7.                 GameUI.SetScore(score);
  8.             }
  9.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement