Skip to content

five-on-it / apps/tools/src/port-level / writeLevelScene

Function: writeLevelScene() ​

writeLevelScene(built, projectDir, sceneName): Promise<string[]>

Defined in: apps/tools/src/port-level.ts:200

Writes a built scene as the scene sceneName of the editor project, then disposes its engine; returns the files written.

Parameters ​

built ​

LevelScene

projectDir ​

string

sceneName ​

string

Returns ​

Promise<string[]>