sim.loadScene

Loads a previously saved scene

Synopsis

sim.loadScene(string/bytes filenameOrBuffer) sim.loadScene(string/buffer filenameOrBuffer)

Arguments

  • filename: scene buffer or scene filename, including extension. An empty string loads the default scene. By default, the current scene is overwritten (append "@keepCurrent" to the filename to preserve current scene). An empty string loads the default scene


See also: