Get Enumerator
What it does: Returns an enumerable to the underlying list of all registered sound names. Can be used to call methods like (see LerpVolume) for each registered sound.
How to call it:
IEnumerable<string> sounds = am.GetEnumerator();
foreach (var name in sounds) {
// Do something with the registered sound name.
}
When to use it: When you want to repeat an action for every sound name that has been registered with the AudioManager.