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
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
DuckMusic
Lowers the music while this cue plays (big stingers).
public bool DuckMusic
Field Value
Key
public string Key
Field Value
MaxConcurrent
Maximum simultaneous voices for this cue. 0 = only the global voice limit.
[Min(0)]
public int MaxConcurrent
Field Value
PitchJitter
± random pitch.
[Range(0, 0.5)]
public float PitchJitter
Field Value
Volume
[Range(0, 1)]
public float Volume