AudioControllerAddToCategory Method (AudioCategory, AudioClip, String)
|
Creates an AudioItem with the name audioID containing a single subitem playing the specified
custom AudioClip. This AudioItem is then added to the specified category.
Namespace:
(Default Namespace)
Assembly:
AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax public static AudioItem AddToCategory(
AudioCategory category,
AudioClip audioClip,
string audioID
)
Parameters
- category
- Type: (Default Namespace)AudioCategory
The category. - audioClip
- Type: AudioClip
The custom audio clip. - audioID
- Type: SystemString
The audioID for the AudioItem to create.
Return Value
Type:
AudioItemThe
AudioItem created with the specified
audioIDSee Also