AudioController.UnloadAudioClipsOnDestroy Field

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
If enabled all audio resources (AudioClips) specified in this AudioController are unloaded from memory when the AudioController gets destroyed (e.g. when loading a new scene and Persistent is not enabled)

Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public bool UnloadAudioClipsOnDestroy

Field Value

Type: Boolean

Remarks

Uses Unity's Resources.UnloadAsset(...) method. Can be used to save memory if many audio ressources are in use. It is recommended to use additional AudioControllers for audios that are used only within a specific scene, and a primary persistent AudioController for audio used throughout the entire application.

See Also