CinematicSceneThen beta
TypeAlias of @v12-engine/client/app
ts
export type CinematicSceneThen = {
scene?: SceneRef<any>;
args?: SceneArgs<Record<string, unknown>>;
} | ((outcome: CinematicOutcome, goTo: GoTo) => void);Where a cinematic scene goes once its cinematic is over: a scene (with what it is opened with), or code that decides, told how the cinematic ended (ended, skipped, stopped) and given the way to other scenes