private static void InvokeBoundaryChangedEvent(IntPtr internalPtr) { IntegratedSubsystem subsystem = SubsystemManager.GetIntegratedSubsystemByPtr(internalPtr); XRInputSubsystem inputSubsystem = subsystem as XRInputSubsystem; if ((inputSubsystem != null) && (inputSubsystem.boundaryChanged != null)) { inputSubsystem.boundaryChanged(inputSubsystem); } }
private static void InvokeTrackingOriginUpdatedEvent(IntPtr internalPtr) { IntegratedSubsystem subsystem = SubsystemManager.GetIntegratedSubsystemByPtr(internalPtr); XRInputSubsystem inputSubsystem = subsystem as XRInputSubsystem; if ((inputSubsystem != null) && (inputSubsystem.trackingOriginUpdated != null)) { inputSubsystem.trackingOriginUpdated(inputSubsystem); } }
private static void InvokeBoundaryChangedEvent(IntPtr internalPtr) { IntegratedSubsystem integratedSubsystemByPtr = SubsystemManager.GetIntegratedSubsystemByPtr(internalPtr); XRInputSubsystem xRInputSubsystem = integratedSubsystemByPtr as XRInputSubsystem; bool flag = xRInputSubsystem != null && xRInputSubsystem.boundaryChanged != null; if (flag) { xRInputSubsystem.boundaryChanged(xRInputSubsystem); } }
private static void InvokeTrackingOriginUpdatedEvent(IntPtr internalPtr) { IntegratedSubsystem integratedSubsystemByPtr = SubsystemManager.GetIntegratedSubsystemByPtr(internalPtr); XRInputSubsystem xRInputSubsystem = integratedSubsystemByPtr as XRInputSubsystem; bool flag = xRInputSubsystem != null && xRInputSubsystem.trackingOriginUpdated != null; if (flag) { xRInputSubsystem.trackingOriginUpdated(xRInputSubsystem); } }