public void RPC_AddScore(int amount) { score += amount; if (photonView.IsMine) { GameGUI.SetScore(score); } Debug.Log("Score: " + score); }