Пример #1
0
        public override void InitView()
        {
            base.InitView();
            _tabComponent = gameObject.AddComponent <TabComponent>();
            _tabComponent.initComponents(4, "SetUpTab", "SetUpselect", uiType);

            _padComponent = gameObject.AddComponent <SystemPadComponent>();
            _padComponent.initComponents(4, "SetUpPad", uiType);
        }
Пример #2
0
 public void initComponents(params object[] paras)
 {
     _tabComponent = gameObject.AddComponent <TabComponent>();
     _tabComponent.initComponents(BagConfig.TAB_SUM, "BagTab", "Bagselect", (UITypes)paras[0]);
 }