static g() { UIPanel.Global.g.allEnabled = new HashSet <UIPanel>(); UIPanel.Global.g.allEnableSwap = new List <UIPanel>(); UIPanel.Global.g.allPanels = new List <UIPanel>(); UIGlobal.EnsureGlobal(); }
static g() { UIWidget.Global.g.allWidgets = new List <UIWidget>(); UIWidget.Global.g.enabledWidgets = new HashSet <UIWidget>(); UIWidget.Global.g.enableWidgetsSwap = new List <UIWidget>(); UIGlobal.EnsureGlobal(); }
public static void RegisterPanel(UIPanel panel) { if (!noGlobal) { UIGlobal.EnsureGlobal(); if (panel.globalIndex == -1) { panel.globalIndex = g.allPanels.Count; g.allPanels.Add(panel); } } }
public static void RegisterWidget(UIWidget widget) { if (!noGlobal) { UIGlobal.EnsureGlobal(); if (widget.globalIndex == -1) { widget.globalIndex = g.allWidgets.Count; g.allWidgets.Add(widget); } } }
public static void RegisterPanel(UIPanel panel) { if (UIPanel.Global.noGlobal) { return; } UIGlobal.EnsureGlobal(); if (panel.globalIndex == -1) { panel.globalIndex = UIPanel.Global.g.allPanels.Count; UIPanel.Global.g.allPanels.Add(panel); } }
public static void RegisterWidget(UIWidget widget) { if (UIWidget.Global.noGlobal) { return; } UIGlobal.EnsureGlobal(); if (widget.globalIndex == -1) { widget.globalIndex = UIWidget.Global.g.allWidgets.Count; UIWidget.Global.g.allWidgets.Add(widget); } }
static g() { UIGlobal.EnsureGlobal(); }