//To add a trigger for Analog sensors public static void TriggerEventAnalog(string deviceType, string deviceName, VRPNAnalog.AnalogReport report) { if (eventManager == null) { Debug.LogError("There needs to be one active EventManger script on a GameObject in your scene."); return; } VRPNAnalogEvent thisEvent = null; if (instance.eventDictionaryAnalog.TryGetValue(deviceType + " " + deviceName, out thisEvent)) { thisEvent.Invoke(deviceType + " " + deviceName, report); } }