Explorar o código

章节定位问题修改

zhangyuqian hai 1 ano
pai
achega
1917796327

+ 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();