Declaration


public static T GetAsset<T>() where T : AudioManagerAsset

Returns


T

The asset found as the type you want it. As long as its inheriting from AudioManagerAsset

Description


Gets the asset of the type requested that inherits from AudioManagerAsset

Example


private void OnEnable()
{
		// Get the audio library asset.
		var library = AssetAccessor.GetAsset<AudioLibrary>();
}