Sfoglia il codice sorgente

修改图鉴返回按钮函数

leiyasi 1 anno fa
parent
commit
101784105c

+ 1 - 2
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/CardGuideView.cs

@@ -131,7 +131,6 @@ namespace GFGGame
             else
             {
                 ViewManager.Show<CardFosterView>(new object[] { _cardList[index], typeof(CardGuideView).FullName}, new object[] { typeof(CardGuideView).FullName, _ui.m_listRole.selectedIndex });
-                Hide();
             }   
         }
 
@@ -174,7 +173,7 @@ namespace GFGGame
         private void OnClickBtnBack()
         {
             _startInAnim = true;
-            ViewManager.GoBackFrom(typeof(CardGuideView).FullName);
+            Hide();
         }
     }
 }

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

@@ -433,7 +433,7 @@ namespace GFGGame
 
             VoiceManager.Instance.StopVoice();
             // 如果配置了语音,读取语音
-            VoiceManager.Instance.LoadRes(ResPathUtil.GetCardSoundPath("111111111"));
+            VoiceManager.Instance.LoadRes(ResPathUtil.GetCardSoundPath("test", "wav"));
 
             if (roleName == "self")
             {

BIN
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_fui.bytes