Эх сурвалжийг харах

主线关卡刷新完成前不可点击

zhaoyang 3 жил өмнө
parent
commit
89a2e81b6c

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

@@ -64,6 +64,7 @@ namespace GFGGame
         protected override void OnShown()
         {
             base.OnShown();
+            _ui.target.touchable = false;
             MusicManager.Instance.Play(ResPathUtil.GetMusicPath(ConstMusicName.DEFAULT));
             _chapterID = (int)viewData;
             MainStoryDataManager.currentChapterCfgId = _chapterID;
@@ -73,6 +74,7 @@ namespace GFGGame
             _ui.m_chapter.AddChild(_compChapter);
             InitChapter();
             _valueBarController.OnShown();
+            _ui.target.touchable = true;
 
         }