logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeFeedbackDto

    Recipe description of a single feedback definition. Maps to a FeedbackDefinition asset (Serenity.Feedback.Infrastructure.Settings.FeedbackDefinition).

    Inheritance
    object
    RecipeFeedbackDto
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
    Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
    Syntax
    public class RecipeFeedbackDto

    Constructors

    RecipeFeedbackDto()

    Declaration
    public RecipeFeedbackDto()

    Fields

    effects

    Declaration
    public RecipeNode[] effects
    Field Value
    Type Description
    RecipeNode[]

    The polymorphic [SerializeReference] List<FeedbackEffectAuthoring> entries, captured as managed-reference nodes by RecipeSerializedPropertyCodec. Each element's kind is "managed" and its text is the concrete type name. null leaves the existing Effects list untouched; a non-null array (including empty) replaces it.

    generateTrigger

    Declaration
    public bool generateTrigger
    Field Value
    Type Description
    bool

    When true, a companion UnityEventDispatcherSignalDefinition pre-wired to PlayFeedbackSignal(id) is created at the same output path with a Trigger suffix (e.g. MyFeedback.asset → MyFeedbackTrigger.asset). The asset provides a zero-code no-generate trigger a SignalEmitterComponent can fire directly.

    id

    Declaration
    public string id
    Field Value
    Type Description
    string

    Stable logical identifier (becomes the asset's Id). Required.

    output

    Declaration
    public string output
    Field Value
    Type Description
    string

    Output path relative to outputRoot, ending in .asset. Required.

    In this article
    © 2026 Serenity. All Rights Reserved