Skip to main content

AudioEnvironmentBlendSettings

A class in Root.Township, the global namespace.

Global audio settings asset with the curve for blending between audio environments. Get it with GlobalSettings<AudioEnvironmentBlendSettings>.Instance.

Constructors​

MemberWhat it is
AudioEnvironmentBlendSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private AnimationCurve blendCurveBacking field for BlendCurve.

Properties​

MemberWhat it is
AnimationCurve BlendCurve { get; }Blend amount over distance, where 0 is an environment's centre and 1 the edge of its bounds.