SoundEffectsMap
A class in Root.Township, the global namespace.
Audio asset that maps each SoundEffect value to its SoundEffectSet. Later sets with the same effect win.
- Listed in Global namespace: S
- Inherits or implements
ScriptableObject - Derived types
SoundEffectsMap.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
SoundEffectsMap() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private static Logger logger | Class logger. |
private List<SoundEffectSet> soundEffectSets | The sound effect sets in this map. |
private Dictionary<SoundEffect, SoundEffectSet> soundEventMap | Backing field for SoundEventMap. |
Properties
| Member | What it is |
|---|---|
Dictionary<SoundEffect, SoundEffectSet> SoundEventMap { get; } | Map from sound effect to its set, built on first use. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a SoundEffectsMap: