Browse Source

章节背景路径更换

zhangyuqian 1 year ago
parent
commit
af593477bd

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterListView.cs

@@ -44,7 +44,7 @@ namespace GFGGame
 
 
             _ui.m_listTab.selectedIndex = 0;
             _ui.m_listTab.selectedIndex = 0;
             _ui.m_listType.selectedIndex = 0;
             _ui.m_listType.selectedIndex = 0;
-            _ui.m_loaBg.url = ResPathUtil.GetSceneBgPath("zhangjie_bg","png");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("zhangjie_bg");
 
 
             _ui.m_listChapter.scrollPane.onScroll.Add(DoSpecialEffect);//滚动时派发事件
             _ui.m_listChapter.scrollPane.onScroll.Add(DoSpecialEffect);//滚动时派发事件
 
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterView.cs

@@ -146,7 +146,7 @@ namespace GFGGame
             //根据困难程度选择显示图片
             //根据困难程度选择显示图片
             if (currentDifficulty == 1)
             if (currentDifficulty == 1)
             {
             {
-                _ui.m_loaBg.url = ResPathUtil.GetSceneBgPath("zhangjie_bg", "png");
+                _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("zhangjie_bg");
             }
             }
             else
             else
             {
             {