浏览代码

前置剧情不自动播放

zhaoyang 3 年之前
父节点
当前提交
4e28d053af
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryDialogView.cs

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