Table of Contents

Class SoundComponentBase

Namespace
CodeBase.SoundSystem.Components
Assembly
4Experience.CodeBase.SoundSystem.Runtime.dll
public abstract class SoundComponentBase : ExtendedMonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
SoundComponentBase
Derived
Extension Methods

Properties

IDsCollection

protected List<int> IDsCollection { get; private set; }

Property Value

List<int>

OverrideSourcePosition

protected bool OverrideSourcePosition { get; private set; }

Property Value

bool

OverridedSourcePositionTransform

protected Transform OverridedSourcePositionTransform { get; private set; }

Property Value

Transform

PlayOnStart

protected bool PlayOnStart { get; private set; }

Property Value

bool

StopPreviousSounds

protected bool StopPreviousSounds { get; private set; }

Property Value

bool

Type

protected SoundType Type { get; private set; }

Property Value

SoundType

Methods

ContainsID(int)

public bool ContainsID(int soundID)

Parameters

soundID int

Returns

bool

ExecuteOverrideSourcePosition()

protected void ExecuteOverrideSourcePosition()

ExecutePlayOnStart()

protected void ExecutePlayOnStart()

ExecuteStopPrevious()

protected void ExecuteStopPrevious()

Mute()

public void Mute()

OnDestroy()

protected virtual void OnDestroy()

Pause()

public void Pause()

Play()

public abstract void Play()

PlayClip(AudioClip)

protected void PlayClip(AudioClip clip)

Parameters

clip AudioClip

SetVolume(float)

public void SetVolume(float volume)

Parameters

volume float

Stop()

public virtual void Stop()

Unmute()

public void Unmute()

Unpause()

public void Unpause()