ButtonSoundSettings
A class in Root.Township, the global namespace.
UI button settings asset that adds sounds for press and release.
- Listed in Global namespace: A to B
- Inherits or implements
ButtonSettings - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
ButtonSoundSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
| Member | What it is |
|---|---|
SoundEffectSet onPressed | Sounds played when the button is pressed. |
SoundEffectSet onReleased | Sounds played when the button is released. |
Used in
Members of other types that take, return or hold a ButtonSoundSettings: