removeEntity method
Implementation
void removeEntity(int entity) {
_ensureNotDisposed();
if (_api.destroyEntity(_handle, entity) == 0) {
throw StateError('Native scene has no entity with ID $entity.');
}
}
void removeEntity(int entity) {
_ensureNotDisposed();
if (_api.destroyEntity(_handle, entity) == 0) {
throw StateError('Native scene has no entity with ID $entity.');
}
}