Skip to content

Interface: IProject ​

User-authored entry point. Owns scenes and which one is active; gameplay code lives in Script subclasses on entities. OnInit runs once after Engine+backend are up; OnClose on teardown. No per-tick hook — the active scene's systems do the work.

Properties ​

PropertyModifierType
namereadonlystring
versionreadonlystring

Methods ​

GetActiveScene() ​

ts
GetActiveScene(): Scene | null;

Returns ​

Scene | null


OnClose() ​

ts
OnClose(): void;

Returns ​

void


OnInit() ​

ts
OnInit(engine): Promise<boolean>;

Parameters ​

ParameterType
engineIEngine

Returns ​

Promise<boolean>

© 2026 PlayAdGentic