Skip to content

API Type Bootstrap

github-actions[bot] edited this page Dec 1, 2026 · 2 revisions

Type Alias: Bootstrap

type Bootstrap = (engine) => void | Promise<void>;

Defined in: src/engine/core/worlds.ts:121

A code bootstrap (Unity's ICustomBootstrap): a project script's bootstrap export. It creates the Engine's start-up Worlds with engine.createWorld.

Parameters

engine

BootstrapEngine

Returns

void | Promise<void>

Clone this wiki locally