Table of Contents

Class SoundComponent

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

Properties

DelayAfterClip

private float DelayAfterClip { get; set; }

Property Value

float

IsAudioClipInLoopWithDelayPlaying

private bool IsAudioClipInLoopWithDelayPlaying { get; set; }

Property Value

bool

IsLooping

private bool IsLooping { get; set; }

Property Value

bool

NameOfSoundToPlay

private string NameOfSoundToPlay { get; set; }

Property Value

string

PlayClipInLoopWithDelayCoroutine

private IEnumerator PlayClipInLoopWithDelayCoroutine { get; set; }

Property Value

IEnumerator

Methods

CanStopCoroutine()

private bool CanStopCoroutine()

Returns

bool

CheckIsPlayingInCoroutine()

private void CheckIsPlayingInCoroutine()

ExecuteDelayInLoop()

private void ExecuteDelayInLoop()

ExecuteLooping()

private void ExecuteLooping()

GetSoundNamesCollection()

private List<string> GetSoundNamesCollection()

Returns

List<string>

IsAudioClipInLoopWithDelayAlreadyPlaying()

private bool IsAudioClipInLoopWithDelayAlreadyPlaying()

Returns

bool

Play()

public override void Play()

PlayClip(bool)

private void PlayClip(bool isLoop = false)

Parameters

isLoop bool

PlayClipManualLoop()

private IEnumerator PlayClipManualLoop()

Returns

IEnumerator

PlayInLoopWithDelay()

private void PlayInLoopWithDelay()

Start()

protected virtual void Start()

Stop()

public override void Stop()