logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityUiThemeSoundsDefinition

    Unity-specific serializable implementation of UI theme sound definitions.
    Defines audio clips for common UI interactions such as show/hide transitions, navigation actions, option changes, and error notifications.
    Implements Unity's serialization system for configuration in the editor and provides interface compliance for audio playback service integration.

    Inheritance
    object
    UnityUiThemeSoundsDefinition
    Implements
    IUiThemeSoundsDefinition
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Infrastructure.Entities
    Assembly: Serenity.UnityUi.Infrastructure.dll
    Syntax
    public class UnityUiThemeSoundsDefinition : IUiThemeSoundsDefinition

    Constructors

    UnityUiThemeSoundsDefinition()

    Declaration
    public UnityUiThemeSoundsDefinition()

    Fields

    CancelSound

    Declaration
    public UnityAudioPlayerClipDefinition CancelSound
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    Sound played when a UI action is canceled.

    ChangeOptionValueSound

    Declaration
    public UnityAudioPlayerClipDefinition ChangeOptionValueSound
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    Sound played when an option value is changed in the UI.

    ErrorSound

    Declaration
    public UnityAudioPlayerClipDefinition ErrorSound
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    Sound played when an error occurs in the UI.

    HideSound

    Declaration
    public UnityAudioPlayerClipDefinition HideSound
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    Sound played when a UI element is hidden.

    SelectOptionSound

    Declaration
    public UnityAudioPlayerClipDefinition SelectOptionSound
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    Sound played when an option is selected in the UI.

    ShowSound

    Declaration
    public UnityAudioPlayerClipDefinition ShowSound
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    Sound played when a UI element is shown.

    SubmitSound

    Declaration
    public UnityAudioPlayerClipDefinition SubmitSound
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    Sound played when a UI action is submitted.

    Methods

    ToString()

    Returns a formatted string representation of all UI theme sound definitions. Useful for debugging and logging theme sound definition configurations.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Multi-line string containing all sound definition details

    Overrides
    object.ToString()

    Implements

    IUiThemeSoundsDefinition
    In this article
    © 2026 Serenity. All Rights Reserved