Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

UDBase.Controllers.AudioSystem.UI

KonH edited this page Feb 23, 2018 · 2 revisions

AudioSlider

UnityEngine.UI.Slider to control given channel volume settings

public class UDBase.Controllers.AudioSystem.UI.AudioSlider
    : MonoBehaviour

Fields

Type Name Summary
ChannelSettings Settings Channel which volume will be changed

Methods

Type Name Summary
void Init(IAudio audio, IEvent events) Init with dependencies

AudioToggleButton

Button to mute/unmute IAudio channel

public class UDBase.Controllers.AudioSystem.UI.AudioToggleButton
    : MonoBehaviour

Fields

Type Name Summary
GameObject ActiveItem Item to activate when channel is unmuted
GameObject MutedItem Item to activate when channel is muted
ChannelSettings Settings Channel which will be muted

Methods

Type Name Summary
void Init(IAudio audio, IEvent events) Init with dependencies