unregister

fun unregister(entityId: UUID)

The entity with the ID provided will no longer be tracked by this object, cleaning up memory and preventing using the API on this entity. This must be manually run after register.

Unregistering the same entity twice will have no effect.


fun unregister(entity: Entity)

The entity provided will no longer be tracked by this object, cleaning up memory and preventing using the API on this entity. This must be manually run after register.

Unregistering the same entity twice will have no effect.