logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    AudioMixerChannelGroupCreator
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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
    In this article
    © 2026 Serenity. All Rights Reserved