Class AudioMixerChannelGroupCreator
Public, reusable helper that creates a plain mixer group (an audio channel's destination) under a parent group. It wraps the module's internal Serenity.SoundMixer.Infrastructure.AudioMixerEffectLoop.Editor.AudioMixerEffectLoopReflectionAdapter so the relationship-manager tool can create channels without duplicating the fragile internal-API access. Unlike the effect-loop creator, this does not add a Receive chain — it is just a group.
Inherited Members
Namespace: Serenity.SoundMixer.Infrastructure.RelationshipManager.Editor
Assembly: Serenity.UnitySoundMixer.Infrastructure.Editor.dll
Syntax
public static class AudioMixerChannelGroupCreator
Methods
Create(AudioMixer, AudioMixerGroup, string, out string)
Creates a group named groupName under parent and returns the
resolved live group, or null with error on failure (invalid input, duplicate
name, a mixer the package ships, or internal-API failure). The mixer is persisted on success.
Serenity.Global.Infrastructure.Editor.ShippedContentWriteGate is asked BEFORE the first mutation rather than left to
Serenity.SoundMixer.Infrastructure.AudioMixerEffectLoop.Editor.AudioMixerEffectLoopReflectionAdapter.Persist(UnityEngine.Audio.AudioMixer)'s own guard at the end: this entry point
reports through error, so the guard's exception would escape it unreported, and
the group would already have been created on the shipped mixer in memory — dirty, and written by
whatever flushes the asset database next.
Declaration
public static AudioMixerGroup Create(AudioMixer mixer, AudioMixerGroup parent, string groupName, out string error)
Parameters
| Type | Name | Description |
|---|---|---|
| AudioMixer | mixer | |
| AudioMixerGroup | parent | |
| string | groupName | |
| string | error |
Returns
| Type | Description |
|---|---|
| AudioMixerGroup |