예제 #1
0
        public static void AddActiveToGUIUpdateList()
        {
            if (CurrentContextMenu != null && !CurrentContextMenu.IsMouseOver())
            {
                CurrentContextMenu = null;
            }

            CurrentContextMenu?.AddToGUIUpdateList();
        }
예제 #2
0
 public override void AddToGUIUpdateList(bool ignoreChildren = false, int order = 0)
 {
     base.AddToGUIUpdateList(ignoreChildren, order);
     SubMenu?.AddToGUIUpdateList();
 }