logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeCutsceneStageDto

    Recipe description of a single cutscene stage. Maps to one UnityCutsceneStep element inside a UnityCutsceneDefinition.Stages list. Asset references (the Timeline) are given as project paths, resolved at import time — never GUIDs.

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

    Constructors

    RecipeCutsceneStageDto()

    Declaration
    public RecipeCutsceneStageDto()

    Fields

    duration

    Declaration
    public float duration
    Field Value
    Type Description
    float

    Duration of the stage in seconds.

    fadeColor

    Declaration
    public Color fadeColor
    Field Value
    Type Description
    Color

    Overlay colour used by FadeIn/FadeOut stages (ignored by other stage types).

    id

    Declaration
    public string id
    Field Value
    Type Description
    string

    Optional stage identifier (free-form; used by tooling/outline, not required at runtime).

    stageType

    Declaration
    public string stageType
    Field Value
    Type Description
    string

    Stage kind, as a CutsceneStageType name (FadeIn, FadeOut, PlayTimeline, Wait, ShowDialog, Custom). Empty defaults to Wait.

    timeline

    Declaration
    public string timeline
    Field Value
    Type Description
    string

    Project path to a Unity Timeline PlayableAsset (e.g. Assets/Game/Cutscenes/Intro.playable); only meaningful for a PlayTimeline stage. Empty leaves it unassigned.

    In this article
    © 2026 Serenity. All Rights Reserved