public void Dispose()
        {
#if UNITY_EDITOR || UNITY_WEBGL
            webSocketProxy.Dispose();
#endif
            bleLostDict.Clear();
            sensorEventDict.Clear();
            buttonEventDict.Clear();
            blePlugin.Dispose();
        }
Exemple #2
0
        public void Dispose()
        {
#if UNITY_EDITOR || UNITY_WEBGL
            webSocketProxy.Dispose();
            IsWebSocketOpened = false;
#endif
            bleConnectionDict.Clear();
            sensorEventDict.Clear();
            buttonEventDict.Clear();
            blePlugin.Dispose();
        }