void Start()
        {
            var heroCfg = mHero.mHeroCfg;

            mSkillListView = new SimpleListView <KeyToSkill, SkillItemUI>();

            listViewFuncs        = new SkillListViewFunc();
            listViewFuncs.MainUi = this;
            listViewFuncs.SetParent(CacheTransform)
            .SetData(heroCfg.mKeyToSkillPairList);

            mSkillListView.Init(listViewFuncs);
            mSkillListView.Create();
        }
        public override void Init(params object[] param)
        {
            base.Init(param);

            allHeroCfgs = HeroConfigMgr.Instance.GetAllHeroCfgs();

            mView = GetComponent <SelectHeroUIGen>();
            mView.HeroItemGameObject.SetActive(false);

            mHeroListView = new SimpleListView <HeroCfg, SelectHeroItemUI>();
            mHeroListView.Init(this);
            mHeroListView.Create();

            mView.confirmButton.onClick.AddListener(OnConfirmBtnClick);

            mMy = allHeroCfgs[0];
            mAi = allHeroCfgs[1];
        }