private UIElementsUtility() { UIEventRegistration.RegisterUIElementSystem(this); // GUIUtility.takeCapture += () => ((IUIElementsUtility)this).TakeCapture(); // GUIUtility.releaseCapture += () => ((IUIElementsUtility)this).ReleaseCapture(); // GUIUtility.processEvent += (i, ptr) => // { // bool handled = false; // ((IUIElementsUtility)this).ProcessEvent(i, ptr, ref handled); // return handled; // }; // GUIUtility.cleanupRoots += () => ((IUIElementsUtility)this).CleanupRoots(); // GUIUtility.endContainerGUIFromException += exception => ((IUIElementsUtility)this).EndContainerGUIFromException(exception); // // GUIUtility.guiChanged += () => ((IUIElementsUtility)this).MakeCurrentIMGUIContainerDirty(); }
internal bool cctor > b__1_4(Exception exception) { return(UIEventRegistration.EndContainerGUIFromException(exception)); }
internal void cctor > b__1_5() { UIEventRegistration.MakeCurrentIMGUIContainerDirty(); }
internal void cctor > b__1_3() { UIEventRegistration.CleanupRoots(); }
internal bool cctor > b__1_2(int i, IntPtr ptr) { return(UIEventRegistration.ProcessEvent(i, ptr)); }
internal void cctor > b__1_1() { UIEventRegistration.ReleaseCapture(); }
internal void cctor > b__1_0() { UIEventRegistration.TakeCapture(); }
private UIElementsUtility() { UIEventRegistration.RegisterUIElementSystem(this); }