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".
Inherited Members
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 |