예제 #1
0
    public void OnConnectedToMaster()
    {
        PhotonNetworkManager.JoinLobby(TypedLobby.Default);

        Debug.Log("We are connected to master");
    }
예제 #2
0
 public void OnConnectedToMaster()
 {
     Debug.Log("As OnConnectedToMaster() got called, the PhotonServerSetting.AutoJoinLobby must be off. Joining lobby by calling PhotonNetwork.JoinLobby().");
     PhotonNetworkManager.JoinLobby();
 }