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); }
public void initComponents(params object[] paras) { _tabComponent = gameObject.AddComponent <TabComponent>(); _tabComponent.initComponents(BagConfig.TAB_SUM, "BagTab", "Bagselect", (UITypes)paras[0]); }