コード例 #1
0
    public void OnTurnCompleted(int turn)
    {
        Debug.Log("Turn " + turn + " completed globally.");
        // check for gameover

        // start a new turn
        if (PhotonNetwork.IsMasterClient)
        {
            turnManager.BeginTurn();
        }
    }