General Events
Events
ACTIVE_SPACE_CHANGE
Emitted on the world.events.globalId when the world loads a Space (no promise of the Space being loaded).
Properties
None.
Example
- .listen
- .onEvent
- .addEventListener
defineState('initial-state').initial().listen(world.events.globalId, ecs.events.ACTIVE_SPACE_CHANGE, () => {
console.log('Active space change')
})