Protected
constructorIf enabled, the distance effect will be applied.
If the distance is higher than this value, the sound cannot be heard at all.
If the distance is less than this value, the distance effect is not applied at all.
Curve type that describes how volume attenuates with distance.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
An audio effect that simulates sound attenuation based on the distance between the Audio and the AudioListenerComponent.
Example