Table of Contents

Class SequenceSoundComponent

Namespace
CodeBase.SoundSystem.Components
Assembly
4Experience.CodeBase.SoundSystem.Runtime.dll
public class SequenceSoundComponent : SoundComponentBase
Inheritance
Object
Component
Behaviour
MonoBehaviour
SequenceSoundComponent
Inherited Members
Extension Methods

Fields

ALREADY_PLAYING_MESSAGE

private const string ALREADY_PLAYING_MESSAGE = "{0} is already playing!"

Field Value

string

AUDIO_SEQUENCE_NAME

private const string AUDIO_SEQUENCE_NAME = "Audio sequence"

Field Value

string

NO_AUDIO_SEQUENCE_TO_PLAY_MESSAGE

private const string NO_AUDIO_SEQUENCE_TO_PLAY_MESSAGE = "There is no audio sequence to play!"

Field Value

string

Properties

AudioClipWaitTimeMap

private Dictionary<AudioClip, WaitForSeconds> AudioClipWaitTimeMap { get; set; }

Property Value

Dictionary<AudioClip, WaitForSeconds>

AudioClipsSequenceData

private AudioSequenceData AudioClipsSequenceData { get; set; }

Property Value

AudioSequenceData

DelayAfterClip

private float DelayAfterClip { get; set; }

Property Value

float

DelayBetweenSequence

private float DelayBetweenSequence { get; set; }

Property Value

float

IsSequencePlaying

private bool IsSequencePlaying { get; set; }

Property Value

bool

PlaySequenceCoroutine

private IEnumerator PlaySequenceCoroutine { get; set; }

Property Value

IEnumerator

Methods

Awake()

protected virtual void Awake()

CanAddDelayBetweenSequence()

private bool CanAddDelayBetweenSequence()

Returns

bool

CanPlayAudioSequence()

private bool CanPlayAudioSequence()

Returns

bool

CanStopSequence()

private bool CanStopSequence()

Returns

bool

HandleDelayBetweenSequence()

private IEnumerator HandleDelayBetweenSequence()

Returns

IEnumerator

Play()

public override void Play()

PlayAudioSequence()

private void PlayAudioSequence()

PlayAudioSequenceProcess()

private IEnumerator PlayAudioSequenceProcess()

Returns

IEnumerator

PrepareAudioSequenceClipWaitTimeMap()

private void PrepareAudioSequenceClipWaitTimeMap()

Start()

protected virtual void Start()

Stop()

public override void Stop()

StopPlayingAudioSequence()

private void StopPlayingAudioSequence()

TryInitializeAudioClipsSequenceMembers()

private bool TryInitializeAudioClipsSequenceMembers()

Returns

bool