Skip to content

@modoki/engine / index / unregisterEntity

Function: unregisterEntity() ​

unregisterEntity(entity, world?): void

Unregister an entity from the given world's index. Called before entity.destroy().

Parameters ​

entity ​

any

world? ​

World = ...

Returns ​

void

Built with Modoki.