Class AudioChannelGroupReassigner
Routes an existing audio channel to another mixer group — the fix the Audio Channel Manager's Inconsistencies rows offer for a channel with no usable group. The write goes through the shipped-content gate, is undoable, and is saved, so the channel the row named is the one that changed and the author finds the change on disk.
Inherited Members
Namespace: Serenity.SoundMixer.Infrastructure.RelationshipManager.Editor
Assembly: Serenity.UnitySoundMixer.Infrastructure.Editor.dll
Syntax
public static class AudioChannelGroupReassigner
Methods
Reassign(UnityAudioPlayerSettings, AudioMixerGroup)
Routes channelSettings to mixerGroup; returns why it did
not, or null when it did.
Declaration
public static string Reassign(UnityAudioPlayerSettings channelSettings, AudioMixerGroup mixerGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityAudioPlayerSettings | channelSettings | |
| AudioMixerGroup | mixerGroup |
Returns
| Type | Description |
|---|---|
| string |