예제 #1
0
 bool IUIElementsUtility.CleanupRoots()
 {
     UIElementsUtility.s_EventInstance          = null;
     UIElementsUtility.s_UIElementsCache        = null;
     UIElementsUtility.s_ContainerStack         = null;
     UIElementsUtility.s_BeginContainerCallback = null;
     UIElementsUtility.s_EndContainerCallback   = null;
     EventDispatcher.ClearEditorDispatcher();
     return(false);
 }
 private static void CleanupRoots()
 {
     // see GUI.CleanupRoots
     s_EventInstance          = null;
     s_UIElementsCache        = null;
     s_ContainerStack         = null;
     s_BeginContainerCallback = null;
     s_EndContainerCallback   = null;
     EventDispatcher.ClearEditorDispatcher();
 }
예제 #3
0
        bool IUIElementsUtility.CleanupRoots()
        {
            // see GUI.CleanupRoots
            s_EventInstance   = null;
            s_UIElementsCache = null;
            s_ContainerStack  = null;
#if UNITY_EDITOR
            s_BeginContainerCallback = null;
            s_EndContainerCallback   = null;
            EventDispatcher.ClearEditorDispatcher();
#endif
            return(false);
        }