Back To Index

AudioOnProximity

Jump To Parameters
Jump To Function Definitions


Parameter Definitions

Select the parameter name from below to jump directly to it on this page.

distanceClip
distances


distanceClip

The audio clip to fade in/out based on distance to the target.

Exposed Value Type Default Value
private AudioClip null

Back To Top


distances

At what distance should the sound source volume be set to?

Exposed Value Type Default Value
private DistanceVolume[] new DistanceVolume[] { }

Back To Top

Function Definitions

Select the function name from below to jump directly to it on this page.

Update


private void Update()

Will keep track of the target to the source. If it falls within the particular distances Array it will fade in the volume with the selected audio clip.

Expose Value Overrideable Returns
private False Does not return anything

No parameters

Back To Top