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