Пример #1
0
    void Start()
    {
        SocketClientManager.Host = "192.168.43.181";
        SocketClientManager.Port = 50090;


        SocketClientManager.Connect();
    }
    void Awake()
    {
        int x = 123;

        _thIdtolistento = Convert.ToByte(x);

#if !UNITY_EDITOR
        Showit = DotheShow;
        SocketClientManager.Port = 12346;
        SocketClientManager.Host = "192.168.1.8";
        SocketClientManager.Connect();
        SocketClientManager.Subscribe(_thIdtolistento, DotheShow);
#endif
    }