|
@@ -63,7 +63,7 @@ namespace GFGGame
|
|
CulturalRelicCfg cfg = culturalRelicCfg[index];
|
|
CulturalRelicCfg cfg = culturalRelicCfg[index];
|
|
StoryChapterCfg storyChapterCfg = StoryChapterCfgArray.Instance.GetCfg(cfg.chapterId);
|
|
StoryChapterCfg storyChapterCfg = StoryChapterCfgArray.Instance.GetCfg(cfg.chapterId);
|
|
UI_ChapterGuideItem item = UI_ChapterGuideItem.Proxy(obj);
|
|
UI_ChapterGuideItem item = UI_ChapterGuideItem.Proxy(obj);
|
|
- item.m_loaIcon.url = string.Format("ui://FieldGuide/{0}", cfg.iconRes);
|
|
|
|
|
|
+ item.m_loaIcon.url = ResPathUtil.GetChapterGuideIconPath(cfg.bgRes);// string.Format("ui://FieldGuide/{0}", cfg.iconRes);
|
|
bool isPass = InstanceZonesDataManager.CheckChapterPass(storyChapterCfg.type, storyChapterCfg.subType, storyChapterCfg.id, storyChapterCfg.levelCount);
|
|
bool isPass = InstanceZonesDataManager.CheckChapterPass(storyChapterCfg.type, storyChapterCfg.subType, storyChapterCfg.id, storyChapterCfg.levelCount);
|
|
item.m_grpLock.visible = !isPass;
|
|
item.m_grpLock.visible = !isPass;
|
|
item.m_txtDesc.text = string.Format("通关主线第{0}章解锁", NumberUtil.GetChiniseNumberText(storyChapterCfg.order));
|
|
item.m_txtDesc.text = string.Format("通关主线第{0}章解锁", NumberUtil.GetChiniseNumberText(storyChapterCfg.order));
|