public static void AddActiveToGUIUpdateList() { if (CurrentContextMenu != null && !CurrentContextMenu.IsMouseOver()) { CurrentContextMenu = null; } CurrentContextMenu?.AddToGUIUpdateList(); }
public override void AddToGUIUpdateList(bool ignoreChildren = false, int order = 0) { base.AddToGUIUpdateList(ignoreChildren, order); SubMenu?.AddToGUIUpdateList(); }