Example #1
0
 public void onHostButton()
 {
     if (!NetworkClient.active)
     {
         manager.StartHost();
     }
 }
Example #2
0
    public void StartHost()
    {
        networkManager.StartHost();

        if (!networkManager.isNetworkActive)
        {
            return;
        }

        landingPagePanel.SetActive(false);
        lobbyPanel.SetActive(true);
    }