This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-30 17:01:37 +08:00
parent beffee8a68
commit 23f40dbf5f

View File

@ -48,8 +48,8 @@ namespace GameLogic
var videoClip = GameModule.Resource.LoadAsset<VideoClip>(videoName);
//string audioName = "礼物" + (giftItemData.giftId - 1);
//// 播放音效
//GameModule.Audio.Play(TEngine.AudioType.UISound, audioName, false, 0.5f, true);
// 播放音效
GameModule.Audio.Play(TEngine.AudioType.UISound, videoName + "_Audio", false, 0.5f, true);
m_VideoPlayer.loopPointReached += HiddenVideoPlay;