Class UnitySequenceStage
Unity-specific serializable implementation of sequence stage entity.
Provides stage identification, an opaque kind label for generic orchestration and how long the player
holds on the stage before the next one.
NOTE: This is a minimal orchestration stage. Cinematic properties (FadeColor, Timeline) belong to
vertical aggregates like CutscenePlayer's UnityCutsceneStep.
Inherited Members
Namespace: Serenity.SequencePlayer.Infrastructure.Entities
Assembly: Serenity.UnitySequencePlayer.Infrastructure.dll
Syntax
public class UnitySequenceStage : ITimedSequenceStage, ISequenceStage, ISequenceUnit, ISerializationCallbackReceiver
Constructors
UnitySequenceStage()
Declaration
public UnitySequenceStage()
Properties
DurationSeconds
Gets how long the player holds on this stage before the next one, in seconds.
Declaration
public float DurationSeconds { get; }
Property Value
| Type | Description |
|---|---|
| float |
Id
Gets unique identifier for the sequence stage.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Kind
Gets the opaque kind label of the sequence stage.
Declaration
public string Kind { get; }
Property Value
| Type | Description |
|---|---|
| string |
Implements
UnityEngine.ISerializationCallbackReceiver