Set Distance Volumes

輸入系統
伺服器端與客戶端
可在 Mobile 端和 PC 端使用

Set the distance ranges between players to dynamically set audio volume.

聲明

func SetDistanceVolumes(distanceList List<float>, volumeList List<int>)
go

參數

輸入

名稱 類型 描述
Distance List ListT_Float A list of distance ranges, each corresponding to an element in the volume list.
Volume List ListT_Int A list of volumes, each corresponding to an element in the distance list.