|
@@ -19,6 +19,7 @@ namespace GFGGame
|
|
|
private List<EffectUI> _effectUIs = new List<EffectUI>();
|
|
|
private int _type;
|
|
|
private int saveListPageIndex = 0;
|
|
|
+ private bool _showEff = false;
|
|
|
|
|
|
public override void Dispose()
|
|
|
{
|
|
@@ -86,10 +87,13 @@ namespace GFGGame
|
|
|
_type = (int)this.viewData;
|
|
|
_valueBarController.OnShown();
|
|
|
_valueBarController.Controller(11);
|
|
|
+ _showEff = false;
|
|
|
|
|
|
_ui.m_comSkill.m_list.numItems = LeagueSkillCountCfgArray.Instance.GetCfg(_type).layerCount;
|
|
|
_ui.m_t0.Play(() =>
|
|
|
{
|
|
|
+ _showEff = true;
|
|
|
+ _ui.m_comSkill.m_list.numItems = LeagueSkillCountCfgArray.Instance.GetCfg(_type).layerCount;
|
|
|
UpdateView(false);
|
|
|
});
|
|
|
}
|
|
@@ -255,7 +259,7 @@ namespace GFGGame
|
|
|
|
|
|
item.m_imgSuo.visible = !canActive;
|
|
|
|
|
|
- if (isLock && canActive && _effectUIs.Count <= index)
|
|
|
+ if (_showEff && isLock && canActive && _effectUIs.Count <= index)
|
|
|
{
|
|
|
EffectUI _effectUI = EffectUIPool.CreateEffectUI(item.m_holdeLight, "ui_league", "tea_nolearn");
|
|
|
_effectUIs.Add(_effectUI);
|