Exemple #1
0
 // Use this for initialization
 public void Start(GUIDone doneDelegate)
 {
     Debug.Log("Start");
     guiDelegate = disconnectedGUI;
     guiDone     = doneDelegate;
     LoadClient();
 }
Exemple #2
0
 // 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;
 }
Exemple #3
0
 // 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;
 }
Exemple #4
0
            // 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");
            }
Exemple #5
0
            // 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");
                }
            }
Exemple #6
0
 public void Start(GUIDone doneDelegate)
 {
     guiDone = doneDelegate;
 }