Пример #1
0
        private InputCommands PopCommand(DeviceType deviceType)
        {
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
            return((InputCommands)EnfluxNativePull.PopCommand(deviceType));
#else
            return(InputCommands.DeviceDisconnected);
#endif
        }
Пример #2
0
        private bool HasNewCommand(DeviceType deviceType)
        {
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
            return(Convert.ToBoolean(EnfluxNativePull.HasNewCommand(deviceType)));
#else
            return(false);
#endif
        }
Пример #3
0
        public void StartCalibration(DeviceType deviceType)
        {
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
            EnfluxNativePull.StartCalibrationPull(deviceType);
#endif
        }
Пример #4
0
        public void EndStreaming()
        {
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
            EnfluxNativePull.EndStreamingThread();
#endif
        }
Пример #5
0
        public void StartStreaming(DeviceType deviceType)
        {
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
            EnfluxNativePull.StartStreamingPull(deviceType);
#endif
        }