Make work with astra
This commit is contained in:
parent
21859bcfb3
commit
c8ee5045e2
1 changed files with 6338 additions and 4613 deletions
|
|
@ -19,12 +19,13 @@ public class networkManagerCustom : NetworkManager
|
|||
offlineCanvas.SetActive(true);
|
||||
offlineCanvas.GetComponent<clientMenu>().errorField.text = "Error: " + conn.lastError.ToString();
|
||||
|
||||
base.OnServerDisconnect(conn);
|
||||
base.OnClientDisconnect(conn);
|
||||
|
||||
}
|
||||
|
||||
public override void OnClientConnect (NetworkConnection conn)
|
||||
{
|
||||
Debug.Log("Simulation client connected to " + networkAddress);
|
||||
//onlineCanvas.SetActive(true);
|
||||
|
||||
offlineCanvas.GetComponent<clientMenu>().errorField.text = "No errors so far.";
|
||||
|
|
|
|||
Loading…
Reference in a new issue