Class VolumeToDistance
Changes the volume depending on how far away this object is away from a specified target
Inheritance
Object
Component
Behaviour
MonoBehaviour
VolumeToDistance
Assembly: WeaverCore.dll
Syntax
public class VolumeToDistance : MonoBehaviour
Fields
|
Edit this page
View Source
DistanceMinMax
Declaration
public Vector2 DistanceMinMax
Field Value
|
Edit this page
View Source
Target
Declaration
[Tooltip("The target to measure. If null, it will default to the player")]
public Transform Target
Field Value
Type |
Description |
Transform |
|
|
Edit this page
View Source
VolumeMinMax
Declaration
public Vector2 VolumeMinMax
Field Value
Extension Methods