logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeCutsceneDto

    Recipe description of a single cutscene. Maps to a UnityCutsceneDefinition asset: an ordered list of stages plus an optional rig prefab. Authored with the Cutscene Wizard (Tools ▸ Serenity ▸ Cutscenes ▸ Cutscene Wizard) or by hand.

    Inheritance
    object
    RecipeCutsceneDto
    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 RecipeCutsceneDto

    Constructors

    RecipeCutsceneDto()

    Declaration
    public RecipeCutsceneDto()

    Fields

    id

    Declaration
    public string id
    Field Value
    Type Description
    string

    Stable logical identifier (becomes the asset's Id, and the key passed to ICutscenePlayerService.PlayAsync). Required.

    output

    Declaration
    public string output
    Field Value
    Type Description
    string

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

    rigPrefab

    Declaration
    public string rigPrefab
    Field Value
    Type Description
    string

    Project path to a GameObject prefab carrying a PlayableDirector rig (e.g. Assets/Game/Cutscenes/IntroRig.prefab). Empty leaves it unassigned.

    stages

    Declaration
    public RecipeCutsceneStageDto[] stages
    Field Value
    Type Description
    RecipeCutsceneStageDto[]

    Ordered list of stages played in sequence.

    In this article
    © 2026 Serenity. All Rights Reserved