Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 public void Start()
 {
     LobbyManagerSpecific     = new NetworkLobbyManagerSpecific();
     DiscoveryManagerSpecific = new NetworkManagerSpecific();
 }