logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptUserInstructionSnippet

    One reusable standing instruction ("muletilla") in the user's personal collection — [Serializable] with public fields because UnityEngine.JsonUtility serializes fields, not auto-properties (same style as AiPromptAnswerEntry). Enabled snippets inject automatically into every generated prompt via AiPromptComposer; the persisted Enabled flag is the default the wizard shows on the Instructions step.

    Inheritance
    object
    AiPromptUserInstructionSnippet
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Editor.AiPromptBuilder
    Assembly: Serenity.AiPromptBuilder.Editor.dll
    Syntax
    public sealed class AiPromptUserInstructionSnippet

    Constructors

    AiPromptUserInstructionSnippet()

    Declaration
    public AiPromptUserInstructionSnippet()

    Fields

    Enabled

    Declaration
    public bool Enabled
    Field Value
    Type Description
    bool

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    Instruction

    Declaration
    public string Instruction
    Field Value
    Type Description
    string

    Name

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