Class MusicDuckSettings

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Music ducking while a cue marked DuckMusic plays. Works on the AudioSource volume; no mixer needed.

public sealed class MusicDuckSettings
Inheritance
MusicDuckSettings
Inherited Members

Constructors

MusicDuckSettings()

public MusicDuckSettings()

Fields

Attack

Seconds to fall from full to silent (ducking moves proportionally).

[Min(0)]
public float Attack

Field Value

float

Enabled

public bool Enabled

Field Value

bool

HoldScale

The stinger's length is multiplied by this to decide how long the music stays ducked.

[Min(0)]
public float HoldScale

Field Value

float

Level

Music gain while ducked.

[Range(0, 1)]
public float Level

Field Value

float

Release

Seconds to recover from silent to full after the stinger ends.

[Min(0)]
public float Release

Field Value

float