|
@@ -93,15 +93,9 @@ namespace GFGGame
|
|
LeagueSkillCountCfg skillCountCfg = LeagueSkillCountCfgArray.Instance.dataArray[index];
|
|
LeagueSkillCountCfg skillCountCfg = LeagueSkillCountCfgArray.Instance.dataArray[index];
|
|
UI_ListSkillTypeItem item = UI_ListSkillTypeItem.Proxy(obj);
|
|
UI_ListSkillTypeItem item = UI_ListSkillTypeItem.Proxy(obj);
|
|
int maxFinishType = LeagueDataManager.Instance.MaxFinishType;
|
|
int maxFinishType = LeagueDataManager.Instance.MaxFinishType;
|
|
- if (skillCountCfg.type <= maxFinishType + 1)
|
|
|
|
- {
|
|
|
|
- item.m_txtTitle.text = string.Format("茶艺·{0}", skillCountCfg.name);
|
|
|
|
- }
|
|
|
|
- else
|
|
|
|
- {
|
|
|
|
- LeagueSkillCountCfg lastSkillCountCfg = LeagueSkillCountCfgArray.Instance.dataArray[index - 1];
|
|
|
|
- item.m_txtTitle.text = string.Format("学习完茶艺-{0}后开启", lastSkillCountCfg.name);
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+ item.m_txtTitle.text = string.Format("茶艺·{0}", skillCountCfg.name);
|
|
|
|
+
|
|
item.m_loaBg.url = string.Format("ui://League/skill_{0}", index + 1);
|
|
item.m_loaBg.url = string.Format("ui://League/skill_{0}", index + 1);
|
|
item.m_grpLock.visible = skillCountCfg.type > maxFinishType + 1;
|
|
item.m_grpLock.visible = skillCountCfg.type > maxFinishType + 1;
|
|
double progress = LeagueDataManager.Instance.GetSkillProgressByType(skillCountCfg.type);
|
|
double progress = LeagueDataManager.Instance.GetSkillProgressByType(skillCountCfg.type);
|