Table of Contents

Interface IToggleAudioHandler

Namespace
Fallencake.UI.Audio
Assembly
Fallencake.UI.dll

Interface for managing sounds in the Toggle component.

public interface IToggleAudioHandler : IAudioHandler
Inherited Members

Properties

ToggleOffSound

Sound when the toggle is deactivated.

AudioClip ToggleOffSound { get; }

Property Value

AudioClip

ToggleOnSound

Sound when the toggle is activated.

AudioClip ToggleOnSound { get; }

Property Value

AudioClip

Methods

PlayToggleOffSound()

Play sound when the toggle is deactivated.

void PlayToggleOffSound()

PlayToggleOnSound()

Play sound when the toggle is activated.

void PlayToggleOnSound()