logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AudioEffectAuthoring

    Plays a sound from an authored UnityAudioPlayerClipDefinition as part of the feedback. Independent of the vibration settings: it plays even when controller vibration is off and is not scaled by the haptic-intensity slider.

    Inheritance
    object
    FeedbackEffectAuthoring
    AudioEffectAuthoring
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Feedback.Infrastructure.Settings
    Assembly: Serenity.UnityFeedback.Infrastructure.dll
    Syntax
    public sealed class AudioEffectAuthoring : FeedbackEffectAuthoring

    Constructors

    AudioEffectAuthoring()

    Declaration
    public AudioEffectAuthoring()

    Fields

    Clip

    Declaration
    public UnityAudioPlayerClipDefinition Clip
    Field Value
    Type Description
    UnityAudioPlayerClipDefinition

    ClipType

    Declaration
    public AudioPlayerType ClipType
    Field Value
    Type Description
    AudioPlayerType

    Volume

    Declaration
    public float Volume
    Field Value
    Type Description
    float

    Properties

    DisplayName

    Declaration
    public override string DisplayName { get; }
    Property Value
    Type Description
    string

    Human-readable label for the inspector.

    Overrides
    FeedbackEffectAuthoring.DisplayName

    Methods

    ToEffect()

    Converts this authoring block into its engine-agnostic effect.

    Declaration
    public override IFeedbackEffect ToEffect()
    Returns
    Type Description
    IFeedbackEffect
    Overrides
    FeedbackEffectAuthoring.ToEffect()
    In this article
    © 2026 Serenity. All Rights Reserved