Exemple #1
0
        private Central()
        {
            blePlugin = Plugin.Instance;
#if UNITY_EDITOR || UNITY_WEBGL
            webSocketProxy = new WebSocket.WebSocketProxy("127.0.0.1", 12345, this, this);
#endif
            bleConnectionDict = new Dictionary <string, IBLEDevice>();
            sensorEventDict   = new Dictionary <string, IIMUEventDelegate>();
            buttonEventDict   = new Dictionary <string, IButtonEventDelegate>();
        }