This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-28 17:50:18 +08:00
parent a07cc5766e
commit 3668db2179

View File

@ -282,9 +282,9 @@ namespace GameLogic
GameModule.Audio.Play(TEngine.AudioType.UISound, videoName + "_Audio", false, 1, true); GameModule.Audio.Play(TEngine.AudioType.UISound, videoName + "_Audio", false, 1, true);
m_video_SjVideo.loopPointReached += (v) => m_video_SjVideo.loopPointReached += async (v) =>
{ {
await UniTask.Delay(2000);
m_img_HuangJinShiDai.gameObject.SetActive(false); m_img_HuangJinShiDai.gameObject.SetActive(false);
m_rect_ShiJian.gameObject.SetActive(false); m_rect_ShiJian.gameObject.SetActive(false);
DataGameSceneManager.Instance.m_LiShiShiJianLikeCount = 0; DataGameSceneManager.Instance.m_LiShiShiJianLikeCount = 0;
@ -421,9 +421,9 @@ namespace GameLogic
string videoName = ConfigSystem.Instance.Tables.TbTeamConfig.Get(teamId).ImgName; string videoName = ConfigSystem.Instance.Tables.TbTeamConfig.Get(teamId).ImgName;
GameModule.Audio.Play(TEngine.AudioType.UISound, videoName + "_Audio", false, 1, true); GameModule.Audio.Play(TEngine.AudioType.UISound, videoName + "_Audio", false, 1, true);
m_video_SjVideo.loopPointReached += (v) => m_video_SjVideo.loopPointReached += async (v) =>
{ {
await UniTask.Delay(2000);
m_img_HuangJinShiDai.gameObject.SetActive(false); m_img_HuangJinShiDai.gameObject.SetActive(false);
m_rect_ShiJian.gameObject.SetActive(false); m_rect_ShiJian.gameObject.SetActive(false);
DataGameSceneManager.Instance.m_LiShiShiJianLikeCount = 0; DataGameSceneManager.Instance.m_LiShiShiJianLikeCount = 0;