Class SoundCue

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

One named sound: clip variations plus playback limits.

public sealed class SoundCue
Inheritance
SoundCue
Inherited Members

Constructors

SoundCue()

public SoundCue()

Fields

Bus

public SoundBus Bus

Field Value

SoundBus

Clips

One is picked per play; empty entries are skipped.

public AudioClip[] Clips

Field Value

AudioClip[]

Cooldown

Do not start this cue again sooner than this (seconds).

[Min(0)]
public float Cooldown

Field Value

float

DuckMusic

Lowers the music while this cue plays (big stingers).

public bool DuckMusic

Field Value

bool

Key

public string Key

Field Value

string

MaxConcurrent

Maximum simultaneous voices for this cue. 0 = only the global voice limit.

[Min(0)]
public int MaxConcurrent

Field Value

int

PitchJitter

± random pitch.

[Range(0, 0.5)]
public float PitchJitter

Field Value

float

Volume

[Range(0, 1)]
public float Volume

Field Value

float