logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCutsceneStep

    Unity-specific serializable implementation of cutscene stage entity.
    Defines individual cutscene stage with timing, type classification, and Unity integration features including fade color and Timeline asset reference.
    Implements ITimedSequenceStage for timed orchestration (duration-aware) and ICutsceneStageProperties for Unity-specific runtime access.

    NOTE: Class name kept as UnityCutsceneStep for serialization backward compatibility with existing ScriptableObject assets. Conceptually this represents a "Stage".

    Inheritance
    object
    UnityCutsceneStep
    Implements
    ITimedSequenceStage
    ISequenceStage
    ISequenceUnit
    ICutsceneStageProperties
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.CutscenePlayer.Infrastructure.Settings
    Assembly: Serenity.UnityCutscenePlayer.Infrastructure.dll
    Syntax
    public class UnityCutsceneStep : ITimedSequenceStage, ISequenceStage, ISequenceUnit, ICutsceneStageProperties

    Constructors

    UnityCutsceneStep()

    Declaration
    public UnityCutsceneStep()

    Properties

    DurationSeconds

    Gets duration of the cutscene stage in seconds (ITimedSequenceStage).

    Declaration
    public float DurationSeconds { get; }
    Property Value
    Type Description
    float

    FadeColor

    Gets fade color used during transitions in the cutscene stage.

    Declaration
    public Color FadeColor { get; }
    Property Value
    Type Description
    Color

    Id

    Gets unique identifier for the cutscene stage.

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    StageType

    Gets type classification of the cutscene stage (CutscenePlayer-specific).

    Declaration
    public CutsceneStageType StageType { get; }
    Property Value
    Type Description
    CutsceneStageType

    Timeline

    Gets Unity Timeline asset associated with the cutscene stage.

    Declaration
    public PlayableAsset Timeline { get; }
    Property Value
    Type Description
    PlayableAsset

    Implements

    ITimedSequenceStage
    ISequenceStage
    ISequenceUnit
    ICutsceneStageProperties
    In this article
    © 2026 Serenity. All Rights Reserved