logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CreateSoundMixerEffectLoopDefinitionOutput

    Editor-only result of a definition-asset creation attempt. Like the mixer creator, the factory never throws to the UI: failures are returned here with Success = false and a clear ErrorMessage.

    Inheritance
    object
    CreateSoundMixerEffectLoopDefinitionOutput
    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.AudioMixerEffectLoop.Editor.dto
    Assembly: Serenity.UnitySoundMixer.Infrastructure.Editor.dll
    Syntax
    public class CreateSoundMixerEffectLoopDefinitionOutput

    Fields

    AssetPath

    Project-relative path of the created asset (null on failure).

    Declaration
    public readonly string AssetPath
    Field Value
    Type Description
    string

    Definition

    The created definition asset (null on failure).

    Declaration
    public readonly UnitySoundMixerEffectLoopDefinition Definition
    Field Value
    Type Description
    UnitySoundMixerEffectLoopDefinition

    ErrorMessage

    Human-readable failure reason when Success is false; null otherwise.

    Declaration
    public readonly string ErrorMessage
    Field Value
    Type Description
    string

    Success

    True when the definition asset was created and saved.

    Declaration
    public readonly bool Success
    Field Value
    Type Description
    bool

    Warnings

    Non-fatal warnings worth surfacing (e.g. asset filename was auto-suffixed).

    Declaration
    public readonly IReadOnlyList<string> Warnings
    Field Value
    Type Description
    IReadOnlyList<string>

    Methods

    Fail(string)

    Builds a failed result carrying a clear, user-facing message.

    Declaration
    public static CreateSoundMixerEffectLoopDefinitionOutput Fail(string errorMessage)
    Parameters
    Type Name Description
    string errorMessage
    Returns
    Type Description
    CreateSoundMixerEffectLoopDefinitionOutput

    Ok(string, UnitySoundMixerEffectLoopDefinition, IReadOnlyList<string>)

    Builds a successful result.

    Declaration
    public static CreateSoundMixerEffectLoopDefinitionOutput Ok(string assetPath, UnitySoundMixerEffectLoopDefinition definition, IReadOnlyList<string> warnings)
    Parameters
    Type Name Description
    string assetPath
    UnitySoundMixerEffectLoopDefinition definition
    IReadOnlyList<string> warnings
    Returns
    Type Description
    CreateSoundMixerEffectLoopDefinitionOutput
    In this article
    © 2026 Serenity. All Rights Reserved