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;
        }
Exemplo n.º 2
0
        public UIStaticButton SetUIComponentIdle(UIComponent component)
        {
            AddUIComponent(component);

            m_idleComponent = component;
            component.SetParentComponentGroup(this);

            return this;
        }
Exemplo n.º 3
0
        public UIStaticButton SetUIComponentHighlighted(UIComponent component)
        {
            AddUIComponent(component);

            m_highlightedComponent = component;
            component.SetParentComponentGroup(this);

            return this;
        }