public void CmdChangeReadyState(bool ReadyState) { ReadyToBegin = ReadyState; NetworkLobbyManager lobby = NetworkManager.singleton as NetworkLobbyManager; lobby?.ReadyStatusChanged(); }
public void CmdChangeReadyState(bool readyState) { readyToBegin = readyState; NetworkLobbyManager lobby = NetworkManager.singleton as NetworkLobbyManager; if (lobby != null) { lobby.ReadyStatusChanged(); } }