Table of Contents

Interface IAudioProvider

Namespace
Fallencake.UI.Audio
Assembly
Fallencake.UI.dll
public interface IAudioProvider

Properties

AudioSource

AudioSource used to play sounds.

AudioSource AudioSource { get; set; }

Property Value

AudioSource

Component

Owning component used by handlers for context and coroutines.

MonoBehaviour Component { get; }

Property Value

MonoBehaviour

DeselectSound

Sound played on deselect.

AudioData DeselectSound { get; }

Property Value

AudioData

EnableSounds

Enables/disables sound playback for this component.

bool EnableSounds { get; set; }

Property Value

bool

PressSound

Sound played on press/submit.

AudioData PressSound { get; }

Property Value

AudioData

SelectSound

Sound played on select/hover.

AudioData SelectSound { get; }

Property Value

AudioData

Selectable

UI selectable to bind event triggers to.

Selectable Selectable { get; }

Property Value

Selectable

Volume

Per-component volume multiplier.

float Volume { get; set; }

Property Value

float