AudioResourceLibraryComponent
A Component that manages audio resources as a key-value dictionary for organized audio playback.
This component provides centralized storage and access to AudioResource instances using named keys. AudioResources can be added, removed, and retrieved using named keys, enabling:
Structured audio resource management.
Dynamic runtime audio switching.
Timeline integration for sequenced playback.
Constructors
Constructs an empty AudioResourceLibraryComponent.
Functions
Adds an AudioAsset to the AudioResourceLibraryComponent using a specified name.
Removes all AudioResources from the AudioResourceLibraryComponent.
Checks if the AudioResourceLibraryComponent contains an AudioResource with the given name.
Gets an AudioResource from the AudioResourceLibraryComponent using a specified name.
Gets all AudioResources within the AudioResourceLibraryComponent.
Gets the names of all AudioResources within the AudioResourceLibraryComponent.
Removes an AudioResource from the AudioResourceLibraryComponent using a specified name.