@dcl/sdk 7.0.0-3313983919.commit-4ba44d2 → 7.0.0-3314076256.commit-c624ad4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1227,6 +1227,11 @@ export declare type IEngine = {
1227
1227
  * @param entity
1228
1228
  */
1229
1229
  removeEntity(entity: Entity): void;
1230
+ /**
1231
+ * Remove all components of each entity in the tree made with Transform parenting
1232
+ * @param firstEntity - the root entity of the tree
1233
+ */
1234
+ removeEntityWithChildren(firstEntity: Entity): void;
1230
1235
  /**
1231
1236
  * Add the system to the engine. It will be called every tick updated.
1232
1237
  * @param system function that receives the delta time between last tick and current one.