Пример #1
0
        //Network Initialization
        private void Start()
        {
            socket.Connect();

            socket.On("register", OnRegister);
            socket.On("spawn", OnSpawned);
        }
Пример #2
0
 public void On(string e, Action <SocketIOEvent> callback)
 {
     socketIO.On(e, callback);
 }