예제 #1
0
        internal static void NotifyDeviceDiscovered(NativeInputDeviceInfo deviceInfo)
        {
            NativeDeviceDiscoveredCallback nativeDeviceDiscoveredCallback = NativeInputSystem.onDeviceDiscovered;

            if (nativeDeviceDiscoveredCallback != null)
            {
                nativeDeviceDiscoveredCallback(deviceInfo);
            }
        }
예제 #2
0
        internal static void NotifyDeviceDiscovered(int deviceId, string deviceDescriptor)
        {
            NativeDeviceDiscoveredCallback callback = s_OnDeviceDiscoveredCallback;

            if (callback != null)
            {
                callback(deviceId, deviceDescriptor);
            }
        }
예제 #3
0
        internal static void NotifyDeviceDiscovered(NativeInputDeviceInfo deviceInfo)
        {
            NativeDeviceDiscoveredCallback callback = s_OnDeviceDiscoveredCallback;

            if (callback != null)
            {
                callback(deviceInfo);
            }
        }