How to Move Prefabs in ECS AR

This will take you about 20 minutes in prep time if you don't have Unity set-up, and 30 minutes in coding and debug time.

Click Here for DOTS Tutorial

Stop struggling with the limited documentation. Follow this step-by-step tutorial, "How to Move Prefabs in ECS AR"

Full workflows and code to programmatically add movement to prefab entities

Click Here for DOTS Tutorial

This gitbook takes you through step-by-step full workflows and code to programmatically add movement to prefab entities. Once you've coded along and fully finished the How To Move Prefabs tutorial, you will be able to programmatically add movement to prefab entities.

Click Here for DOTS Tutorial

High-Level steps to Move Prefabs:

Number 01

Decide on the "destroy conditions" of your entities (i.e. "destroy entities that leave the perimeter")

Number 02

Create a system that adds a Destroy tag to those prefabs that will be destroyed

Number 03

Create another system that destroys any prefabs that have a destroy tag