// Use this for initialization public void Start(GUIDone doneDelegate) { Debug.Log("Start"); guiDelegate = disconnectedGUI; guiDone = doneDelegate; LoadClient(); }
// Use this for initialization void Start() { masterServerGUI = new MasterServerGUI(); udpConnectionGUI = new UDPConnectionGUI(); guiDelegate = new DrawGUI(this.MainMenu); internalGUIDelegate = new DrawGUI(this.MainMenu); guiDone = new GUIDone(this.OnGUIDone); currentGUI = null; }
// Use this for initialization public void Start(GUIDone doneDelegate) { //DontDestroyOnLoad(this); guiDone = doneDelegate; //Start connection test natCapable = Network.TestConnection(); /*What kind of IP does this machine have? TestConnection also indicates this * in the test results*/ if(Network.HavePublicAddress()) Debug.Log("This machine has a public IP address"); else Debug.Log("This machine has a private IP address"); }
// Use this for initialization public void Start(GUIDone doneDelegate) { //DontDestroyOnLoad(this); guiDone = doneDelegate; //Start connection test natCapable = Network.TestConnection(); /*What kind of IP does this machine have? TestConnection also indicates this * in the test results*/ if (Network.HavePublicAddress()) { Debug.Log("This machine has a public IP address"); } else { Debug.Log("This machine has a private IP address"); } }
public void Start(GUIDone doneDelegate) { guiDone = doneDelegate; }