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
The audio clip to fade in/out based on distance to the target.
| Exposed Value | Type | Default Value |
|---|---|---|
| private | AudioClip | null |
distances
At what distance should the sound source volume be set to?
| Exposed Value | Type | Default Value |
|---|---|---|
| private | DistanceVolume[] | new DistanceVolume[] { } |
Function Definitions
Select the function name from below to jump directly to it on this page.
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