Unity Photon으로 멀티 서버 구현 - Photon-4(룸 연결 및 설정)
플레이어 수에 맞는 룸 생성(GameMaster.cs) #region Private Methods void LoadArena() //멀티이기 때문에 씬을 변경해도 다른 사람이 같이 되도록 해야 한다.- 포톤 네트워크 쓰기 { if (!PhotonNetwork.IsMasterClient) //방장이 없을 경우, 로드할 수 없다고 알림. { Debug.LogError("PhotonNetwork : Trying to Load a level but we are not the master Client"); } Debug.LogFormat("PhotonNetwork : Loading Level : {0}", PhotonNetwork.CurrentRoom.PlayerCount); //현재 인원에 맞는 룸 배정 Pho..