Set Distance Volumes

Input System
Both Server and Client
Both Mobile and PC

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

Declaration

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

Parameters

Input

Name Type Description
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.