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 and AudioGroupResources 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 an AudioAsset of a specific type from the AudioResourceLibraryComponent using a specified name.
Gets all AudioGroupResources within the AudioResourceLibraryComponent.
Gets all AudioResources within the AudioResourceLibraryComponent.
Gets the names of all AudioResources and AudioGroupResources within the AudioResourceLibraryComponent.
Removes an AudioAsset from the AudioResourceLibraryComponent using a specified name.