Class CutsceneCreator.Input
Everything needed to create one cutscene.
Inheritance
CutsceneCreator.Input
Assembly: Serenity.UnityCutscenePlayer.Installation.Editor.dll
public sealed class CutsceneCreator.Input
Constructors
Declaration
Fields
When true, a UnityReflectionCallTaskDefinition is created so the cutscene can be
played from the initialization pipeline (a boot splash). It is not added to a pipeline profile.
Declaration
public bool CreateInitTask
Field Value
Declaration
public GameObject ExistingRig
Field Value
| Type |
Description |
| GameObject |
|
When true, a no-code play trigger (Signal+Action) is generated.
Declaration
public bool GenerateTrigger
Field Value
Unique cutscene id (also the generated sub-folder name and the PlayAsync key).
Declaration
Field Value
Project-relative parent folder for the generated assets (e.g. "Assets/.../Media").
Declaration
public string MediaFolderPath
Field Value
Display name; used for the asset file name and the trigger's base name.
Declaration
Field Value
When true AND a UnityCutscenePlayerSettings asset is created — a fresh one or a
project copy of the shipped one, not when appending to an existing one — that asset is registered as
Addressable with its module label. Ignored when RegisterInSettings is false, or when the project already has a
settings asset to append to.
Declaration
public bool RegisterAsAddressables
Field Value
When true, the new definition is appended to the project's player-settings Definitions.
Declaration
public bool RegisterInSettings
Field Value
Declaration
public CutsceneCreator.RigMode Rig
Field Value
Explicit settings asset path (a test seam and an already-known-asset fast path). When set, an
asset already present at this path is edited; when no asset exists there yet, a fresh one is
created at exactly this path instead of the project-wide search below. Leave empty for the
production behavior: the project's own UnityCutscenePlayerSettings asset, otherwise a
project copy of the shipped one, and only when the project holds none at all a fresh one under
MediaFolderPath — see Serenity.CutscenePlayer.Installation.Settings.Editor.Builder.CutscenePlayerSettingsRegistration.
Declaration
public string SettingsAssetPath
Field Value
Ordered stages to author.
Declaration
public List<CutsceneCreator.StageInput> Stages
Field Value
Which trigger shape to generate when GenerateTrigger is true. PlayOnce =
one PlayAsync action; PlayLooping = an idempotent Play/Stop pair via the cutscene service.
Declaration
public CutsceneTriggerScriptCreator.TriggerKind TriggerKind
Field Value
Namespace for the generated trigger script (empty generates without a namespace).
Declaration
public string TriggerNamespace
Field Value
Project-relative parent folder for the generated trigger script.
Declaration
public string TriggerScriptFolderPath
Field Value