private static void Internal_TriggerEventOnTrackingLost(WorldAnchor self, bool located) { if (self != null && self.OnTrackingChanged != null) { self.OnTrackingChanged(self, located); } }
private static void Internal_TriggerEventOnTrackingLost(WorldAnchor worldAnchor, bool located) { if (worldAnchor != null && worldAnchor.OnTrackingChanged != null) { // The user asked to handle this behaviour worldAnchor.OnTrackingChanged(worldAnchor, located); } }