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

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