Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        GlobalBehavior.Setup();

        SocketManager.Instance.AddEventListener(SocketEvent.CONNECT, OnConnect);
        SocketManager.Instance.Connect("127.0.0.1", 9201);
    }