示例#1
0
    void SetupMatch()
    {
        // init data structures
        _numPlayers = PhotonNetwork.room.PlayerCount;

        _currentGameMode.OnSetup(_numPlayers);

        // tell the ui how many players we are
        _scoreUI.Setup(_numPlayers);
    }