logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class BatchSoundEffectImporter.Item

    One sound effect to import: its source, resolved clip and per-item parameters.

    Inheritance
    object
    BatchSoundEffectImporter.Item
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.AudioPlayer.Infrastructure.Settings.Editor.Builder
    Assembly: Serenity.UnityAudioPlayer.Infrastructure.Editor.dll
    Syntax
    public sealed class BatchSoundEffectImporter.Item

    Constructors

    Item()

    Declaration
    public Item()

    Fields

    AssetName

    Asset file name (without extension).

    Declaration
    public string AssetName
    Field Value
    Type Description
    string

    AudioClip

    The imported clip this definition will reference. Required to create the asset.

    Declaration
    public AudioClip AudioClip
    Field Value
    Type Description
    AudioClip

    CanBeReplaced

    Whether a sound from this clip can be taken over by a higher-priority sound.

    Declaration
    public bool CanBeReplaced
    Field Value
    Type Description
    bool

    Id

    Runtime id used to resolve the clip from game settings.

    Declaration
    public string Id
    Field Value
    Type Description
    string

    Include

    When false the row is ignored by validation and creation.

    Declaration
    public bool Include
    Field Value
    Type Description
    bool

    Priority

    Serenity priority (higher = more important). Clamped to >= 0 on creation.

    Declaration
    public int Priority
    Field Value
    Type Description
    int

    PriorityPolicy

    Policy applied when no AudioSource is free and this clip is requested.

    Declaration
    public AudioPriorityPolicy PriorityPolicy
    Field Value
    Type Description
    AudioPriorityPolicy

    SourcePath

    Display path of the source (OS path or project path). Informational only.

    Declaration
    public string SourcePath
    Field Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved