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 fresh UnityCutscenePlayerSettings asset is created (not when
appending to an existing one), that asset is registered as Addressable with the cutscene 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: find the single project-wide UnityCutscenePlayerSettings
asset, or create one under MediaFolderPath when none exists.
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