通知客戶端播放音效

STD 庫
伺服器端
可在 Mobile 端和 PC 端使用

Notify the target player device to play the audio

聲明

func NotifyPlaySoundV2(target entity<Player>, resource AudioID, speed float)
go

參數

輸入

名稱 類型 描述
目標 Player The target player
資源 AudioID The audio asset
速度 Float The playback speed (valid range: 0.1~3.0; 1 = normal, <1 = slow down, >1 = speed up)