예제 #1
0
    public void RPC_AddScore(int amount)
    {
        score += amount;

        if (photonView.IsMine)
        {
            GameGUI.SetScore(score);
        }

        Debug.Log("Score: " + score);
    }