Browse Source

前置剧情不自动播放

zhaoyang 3 years ago
parent
commit
4e28d053af

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

@@ -103,7 +103,7 @@ namespace GFGGame
             {
                 _onCompleteStoryDialogCallParam = datas[3];
             }
-            if(LauncherConfig.netType == LauncherConfig.EnumNetType.LOCAL)
+            if (LauncherConfig.netType == LauncherConfig.EnumNetType.LOCAL)
             {
                 //临时设置都可以跳过对话
                 skipable = true;
@@ -117,7 +117,7 @@ namespace GFGGame
             if (stroyStartID == MainStoryDataManager.priorId)
             {
                 _ui.m_c1.selectedIndex = 1;
-                _ui.m_btnAutoPlay.selected = true;
+                // _ui.m_btnAutoPlay.selected = true;
                 OnClickBtnAutoPlay();
             }
         }
@@ -177,7 +177,7 @@ namespace GFGGame
         private void OnClickBtnSpeedUp()
         {
             //如果没有自动播放先开始自动播放
-            if(!_autoPlay)
+            if (!_autoPlay)
             {
                 _ui.m_btnAutoPlay.selected = true;
                 OnClickBtnAutoPlay();