document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. namespace PUNTutorial
  6. {
  7.     public class PlayerScore : Photon.PunBehaviour
  8.     {
  9.         int score;
  10.  
  11.         [PunRPC]
  12.         void RPC_AddScore(int amount)
  13.         {
  14.             score += amount;
  15.             Debug.Log("Score: " + score);
  16.         }
  17.     }
  18. }
');