补充音频
This commit is contained in:
parent
e43c419729
commit
b876b174fa
@ -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<VideoClip>(videoName);
|
||||
m_video_Video.clip = videoClip;
|
||||
m_video_Video.Play();
|
||||
|
Loading…
x
Reference in New Issue
Block a user