//To remove a listener for Trackers public static void StopListeningTracker(VRPNManager.Tracker_Types deviceType, VRPNDeviceConfig.Device_Names deviceName, UnityAction <string, VRPNTracker.TrackerReport> listener) { if (eventManager == null) { Debug.LogError("There needs to be one active EventManger script on a GameObject in your scene."); return; } VRPNTrackerEvent thisEvent = null; if (instance.eventDictionaryTracker.TryGetValue(deviceType.ToString() + " " + deviceName.ToString(), out thisEvent)) { thisEvent.RemoveListener(listener); } }