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 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); } }