コード例 #1
0
        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;
        }
コード例 #2
0
        public UIStaticButton SetUIComponentIdle(UIComponent component)
        {
            AddUIComponent(component);

            m_idleComponent = component;
            component.SetParentComponentGroup(this);

            return this;
        }
コード例 #3
0
        public UIStaticButton SetUIComponentHighlighted(UIComponent component)
        {
            AddUIComponent(component);

            m_highlightedComponent = component;
            component.SetParentComponentGroup(this);

            return this;
        }