get

fun get(name: String): AudioResource?

Gets an AudioResource from the AudioResourceLibraryComponent using a specified name.

Return

The corresponding AudioResource if found; null otherwise.

Parameters

name

The name of the AudioResource. The name must be unique, can have a maximum length of 256 bytes, and should only include characters from a-z, A-Z, 0-9, _.