浏览代码

章节定位问题修改

zhangyuqian 1 年之前
父节点
当前提交
1917796327
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterView.cs

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

@@ -145,7 +145,8 @@ namespace GFGGame
 
             Timers.inst.StartCoroutine(InitChapter());
 
-            Timers.inst.Add(0.5f, 1, SetContainerY);
+            //Timers.inst.Add(0.2f, 1, SetContainerY);
+            _ui.m_chapter.m_compChapterScroll.target.y = 1;
 
             _valueBarController.OnShown();