Class CutsceneInPlaceUpdater
Writes the Cutscene Wizard's stages and rig back onto a cutscene that already exists, inside one
Serenity.Global.Infrastructure.Editor.SerenityAssetCreationTransaction: a failed run restores the cutscene and deletes whatever it
created, and a run that changes nothing leaves the file untouched. The cutscene keeps its Id, its file and
its folder, so the play triggers and boot tasks that play it by Id keep working without being regenerated.
Inheritance
CutsceneInPlaceUpdater
Assembly: Serenity.UnityCutscenePlayer.Installation.Editor.dll
Syntax
public static class CutsceneInPlaceUpdater
Methods
Writes input's stages and rig onto existing.
Declaration
public static CutsceneCreator.Result Update(CutsceneCreator.Input input, UnityCutsceneDefinition existing)
Parameters
Returns
Returns a human-readable validation error, or null when existing can be
updated from input.
Declaration
public static string Validate(CutsceneCreator.Input input, UnityCutsceneDefinition existing)
Parameters
Returns