Skip to main content

ButtonSoundSettings

A class in Root.Township, the global namespace.

UI button settings asset that adds sounds for press and release.

Constructors​

MemberWhat it is
ButtonSoundSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

MemberWhat it is
SoundEffectSet onPressedSounds played when the button is pressed.
SoundEffectSet onReleasedSounds played when the button is released.

Used in​

Members of other types that take, return or hold a ButtonSoundSettings: