Class AudioMixerChannelDeletionPlanner
Pure (Unity-free) planner that, given the current configuration and a mixer group the user wants to delete, works out every Serenity-side reference that would break and the repair actions needed to keep the configuration consistent. Produces a preview/dry-run AudioMixerChannelDeletionPlanner.DeletionPlan; it never touches assets. The window applies the plan (with Undo) only after explicit confirmation.
Inherited Members
Namespace: Serenity.SoundMixer.Infrastructure.RelationshipManager.Editor
Assembly: Serenity.UnitySoundMixer.Infrastructure.Editor.dll
Syntax
public static class AudioMixerChannelDeletionPlanner
Methods
Plan(SerenitySnapshot, MixerSnapshot, string, string)
Builds the plan for deleting groupToDelete, migrating affected channels to
reassignTarget when it is a valid, different, existing group; otherwise the
channels are planned to be cleared (with a warning).
Declaration
public static AudioMixerChannelDeletionPlanner.DeletionPlan Plan(SerenitySnapshot serenity, MixerSnapshot mixer, string groupToDelete, string reassignTarget)
Parameters
| Type | Name | Description |
|---|---|---|
| SerenitySnapshot | serenity | |
| MixerSnapshot | mixer | |
| string | groupToDelete | |
| string | reassignTarget |
Returns
| Type | Description |
|---|---|
| AudioMixerChannelDeletionPlanner.DeletionPlan |