ImpactSoundMap
A class in Root.Township, the global namespace.
Asset that maps physic materials to Wwise switches, so impact sounds play the right material sound.
- Listed in Global namespace: I to L
- Inherits or implements
ScriptableObject - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
ImpactSoundMap() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private List<ImpactSoundSet> impactSoundSets | The material and switch pairs set in the inspector. |
private static readonly Logger logger | NLog logger for load warnings. |
private Dictionary<PhysicMaterial, Switch> materialType | Backing field for MaterialType. |
Properties
| Member | What it is |
|---|---|
Dictionary<PhysicMaterial, Switch> MaterialType { get; } | Physic material to Wwise switch map, built on first use. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a ImpactSoundMap: