Example #1
0
        //Network Initialization
        private void Start()
        {
            socket.Connect();

            socket.On("register", OnRegister);
            socket.On("spawn", OnSpawned);
        }
 public void Connect()
 {
     socketIO.Connect();
 }
Example #3
0
 public void Connect()
 {
     print("CONNECTING");
     socketIO.Init(settings);
     socketIO.Connect();
 }