logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCutsceneStepTests

    Tests for Serenity.CutscenePlayer.Infrastructure.Settings.UnityCutsceneStep, the serializable cutscene stage entity. The class exposes its data only through read-only properties backed by private [SerializeField] fields, so the populated cases use UnityEngine.JsonUtility.FromJson``1(System.String) (the real Unity serialization path) to drive the fields rather than reflection. The key behaviour under test is the explicit Serenity.SequencePlayer.Application.Interfaces.ISequenceStage.StageType mapping that bridges the cutscene-specific enum onto the generic sequence enum.

    Inheritance
    object
    UnityCutsceneStepTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityCutscenePlayer.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityCutsceneStepTests

    Constructors

    UnityCutsceneStepTests()

    Declaration
    public UnityCutsceneStepTests()

    Methods

    Default_DurationSeconds_IsOne()

    Declaration
    public void Default_DurationSeconds_IsOne()

    Default_FadeColor_IsBlack()

    Declaration
    public void Default_FadeColor_IsBlack()

    Default_Timeline_IsNull()

    Declaration
    public void Default_Timeline_IsNull()

    Deserialized_ExposesIdDurationAndStageType()

    Declaration
    public void Deserialized_ExposesIdDurationAndStageType()

    ISequenceStageType_Custom_MapsToCustom()

    Declaration
    public void ISequenceStageType_Custom_MapsToCustom()

    ISequenceStageType_NonCustom_MapsToShowDialog()

    Declaration
    public void ISequenceStageType_NonCustom_MapsToShowDialog()

    Implements_ITimedSequenceStage_And_ICutsceneStageProperties()

    Declaration
    public void Implements_ITimedSequenceStage_And_ICutsceneStageProperties()
    In this article
    © 2026 Serenity. All Rights Reserved