logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AudioMixerRelationshipScanner

    Editor-only bridge that gathers the live Unity + Serenity state for a given UnityEngine.Audio.AudioMixer into the pure snapshots consumed by AudioMixerRelationshipAnalyzer and AudioMixerChannelDeletionPlanner, while also keeping the live asset references the window needs to apply changes. All AudioMixer structure reading is delegated to the existing AudioMixerYamlReader; this class only joins the pieces.

    Inheritance
    object
    AudioMixerRelationshipScanner
    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 AudioMixerRelationshipScanner

    Methods

    DeletableGroupNames(ScanResult)

    GroupNames(ScanResult) minus "Master", which a caller never offers as a delete target.

    Declaration
    public static string[] DeletableGroupNames(AudioMixerRelationshipScanner.ScanResult scan)
    Parameters
    Type Name Description
    AudioMixerRelationshipScanner.ScanResult scan
    Returns
    Type Description
    string[]

    GroupNames(ScanResult)

    Every group name the scanned mixer has, or empty when nothing has been scanned yet.

    Declaration
    public static string[] GroupNames(AudioMixerRelationshipScanner.ScanResult scan)
    Parameters
    Type Name Description
    AudioMixerRelationshipScanner.ScanResult scan
    Returns
    Type Description
    string[]

    ResolveGroup(ScanResult, string)

    The live UnityEngine.Audio.AudioMixerGroup for a scanned group name, or null when the scan has no group by that name (including an empty or unscanned scan).

    Declaration
    public static AudioMixerGroup ResolveGroup(AudioMixerRelationshipScanner.ScanResult scan, string name)
    Parameters
    Type Name Description
    AudioMixerRelationshipScanner.ScanResult scan
    string name
    Returns
    Type Description
    AudioMixerGroup

    Scan(AudioMixer)

    Scans the project for everything related to mixer and analyzes it.

    Declaration
    public static AudioMixerRelationshipScanner.ScanResult Scan(AudioMixer mixer)
    Parameters
    Type Name Description
    AudioMixer mixer
    Returns
    Type Description
    AudioMixerRelationshipScanner.ScanResult
    In this article
    © 2026 Serenity. All Rights Reserved