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();
        }
Beispiel #2
0
 internal bool cctor > b__1_4(Exception exception)
 {
     return(UIEventRegistration.EndContainerGUIFromException(exception));
 }
Beispiel #3
0
 internal void cctor > b__1_5()
 {
     UIEventRegistration.MakeCurrentIMGUIContainerDirty();
 }
Beispiel #4
0
 internal void cctor > b__1_3()
 {
     UIEventRegistration.CleanupRoots();
 }
Beispiel #5
0
 internal bool cctor > b__1_2(int i, IntPtr ptr)
 {
     return(UIEventRegistration.ProcessEvent(i, ptr));
 }
Beispiel #6
0
 internal void cctor > b__1_1()
 {
     UIEventRegistration.ReleaseCapture();
 }
Beispiel #7
0
 internal void cctor > b__1_0()
 {
     UIEventRegistration.TakeCapture();
 }
Beispiel #8
0
 private UIElementsUtility()
 {
     UIEventRegistration.RegisterUIElementSystem(this);
 }