Skip to content

LevelObj

LevelObj = GameObj<MergeComps<LevelComp | PosComp>>

Defined in: packages/threeplay/src/plugins/level/types.ts:52

The object returned by addLevel(): a game object with the LevelComp fields (the component’s id is a lifecycle key, so it is not merged into the object) plus pos.