示例#1
0
 public override void OnCreatedRoom()
 {
     //        base.OnCreatedRoom();
     Debug.Log($"Connected to Room {PhotonNetwork.CurrentRoom.Name}");
     RoomLobby.SetActive(true);
     LobbyManager.ChangeMenu(true);
 }
示例#2
0
    public override void OnJoinedRoom()
    {
        Debug.Log($"Connected to Room {PhotonNetwork.CurrentRoom.Name}");
        if (!RoomLobby.activeSelf)
        {
            RoomLobby.SetActive(true);

            LobbyManager.ChangeMenu(false);
        }
    }