Răsfoiți Sursa

章节界面问题修复

zhangyuqian 1 an în urmă
părinte
comite
6a696b09e9

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

@@ -116,7 +116,7 @@ namespace GFGGame
         {
             base.OnShown();
 
-            _ui.target.touchable = false;
+            GRoot.inst.touchable = false;
             SuitFosterProxy.SendGetSuitInfos().Coroutine();
             MusicManager.Instance.PlayCroutine(ResPathUtil.GetMusicPath(ConstMusicName.DEFAULT));
             if ((this.viewData as object[]) != null)
@@ -139,7 +139,7 @@ namespace GFGGame
             }
 
             _valueBarController.OnShown();
-            _ui.m_t0.SetHook("canHit", () => { _ui.target.touchable = true; });
+            _ui.m_t0.SetHook("canHit", () => { GRoot.inst.touchable = true; });
             _ui.m_t0.Play();
             Timers.inst.AddUpdate(CheckGuide);