void DropdownValueChanged(Dropdown change) { if (change.value != 0) { if ((change.value) == 1) { panelLan.SetActive(true); panelMatchMaker.SetActive(false); NetworkManagerSpecific.StartDiscovery(); configuration = NetworkConfigurationGetter.getConfigurationObject(); configuration.NetworkType = "LAN"; } else { panelLan.SetActive(false); panelMatchMaker.SetActive(true); } } else { panelLan.SetActive(false); panelMatchMaker.SetActive(false); } }
public void Start() { LobbyManagerSpecific = new NetworkLobbyManagerSpecific(); DiscoveryManagerSpecific = new NetworkManagerSpecific(); }