public UIComponentGroup AddUIComponent(UIComponent component) { m_componentIdDictionary.Add(component.Id, component); m_componentNameDictionary.Add(component.Name, component); m_listComponent.AddLast(component); component.SetParentComponentGroup(this); return this; }
public UIStaticButton SetUIComponentIdle(UIComponent component) { AddUIComponent(component); m_idleComponent = component; component.SetParentComponentGroup(this); return this; }
public UIStaticButton SetUIComponentHighlighted(UIComponent component) { AddUIComponent(component); m_highlightedComponent = component; component.SetParentComponentGroup(this); return this; }