소스 검색

章节定位问题修改

zhangyuqian 2 년 전
부모
커밋
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();