예제 #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]);
 }