From b876b174fabb22ab4ebf82d28453fe7ded533967 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Sat, 17 May 2025 16:10:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E9=9F=B3=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index ef911a1a..519dd464 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -220,6 +220,10 @@ namespace GameLogic SwitchUIResource(); }; + // 播放音频 + var videoAudioName = "csm_audios"; + GameModule.Audio.Play(TEngine.AudioType.Sound, videoAudioName, false, 0.5f, true); + var videoClip = GameModule.Resource.LoadAsset(videoName); m_video_Video.clip = videoClip; m_video_Video.Play();