Explorar o código

单人引导点太快会卡后边的瘾大

zhaoyang %!s(int64=3) %!d(string=hai) anos
pai
achega
418381f47c

+ 6 - 3
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightSingleScoreView.cs

@@ -124,13 +124,12 @@ namespace GFGGame
             // string resPath6 = ResPathUtil.GetViewEffectPath("ui_zhandou", "ui_zd_an_sf");
             if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.SINGLE_FIGHT) <= 0)
             {
+                _ui.m_comClickCircle.target.touchable = false;
                 _ui.m_comClickCircle.m_loaCircle.touchable = false;
 
                 GTween.To(100, 50, _playTime / 2).SetTarget(_gameObject7).OnUpdate((GTweener t) =>
                 {
-
                     _gameObject7.transform.localScale = new Vector3(t.value.x, t.value.x, t.value.x);
-
                 });
             }
             else
@@ -411,7 +410,11 @@ namespace GFGGame
             float scaleX = _gameObject7.transform.localScale.x;
             if (scaleX == 50)
             {
-                GuideController.TryGuide(_ui.m_comClickCircle.target, ConstGuideId.SINGLE_FIGHT, 6, "服饰比较繁琐,适当的整理会更加分,点击为各部位修整吧");
+                bool isGuide = GuideController.TryGuide(_ui.m_comClickCircle.target, ConstGuideId.SINGLE_FIGHT, 6, "服饰比较繁琐,适当的整理会更加分,点击为各部位修整吧");
+                if (isGuide)
+                {
+                    _ui.m_comClickCircle.target.touchable = true;
+                }
             }
             GuideController.TryCompleteGuide(ConstGuideId.SINGLE_FIGHT, 6);
         }