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