Пример #1
0
 public override void OnStartClient()
 {
     room = GameObject.FindWithTag("NetworkManager").GetComponent <NetworkManagerLobby>();
     Room.roomPlayers.Add(this);
     UpdateDisplay();
 }
Пример #2
0
 public override void OnStartAuthority()
 {
     room = GameObject.FindWithTag("NetworkManager").GetComponent <NetworkManagerLobby>();
     CMDSetDisplayName(PlayerNameInput.DisplayName);
     lobbyUI.SetActive(true);
 }