public ValueWidget(GameObject obj) : base(obj) { Value = new GOLabel(obj.GetChild(0)); Slash = new GOLabel(obj.GetChild(1)); MaxValue = new GOLabel(obj.GetChild(2)); Background = new GOThinBackground(obj.GetChild(3)); }
public GONavigationButton(GameObject obj) : base(obj) { KeyNavigation = obj.GetExactComponent <UIKeyNavigation>(); GroupState = obj.GetExactComponent <ButtonGroupState>(); Label = new GOLabel(obj.GetChild(0)); Highlight = new GOSprite(obj.GetChild(1)); Background = new GOThinBackground(obj.GetChild(2)); }
public IconsWidget(GameObject obj) : base(obj) { Icons = new GOTable <GOSprite>(obj.GetChild(0)); Background = new GOThinBackground(obj.GetChild(1)); }