How to Destroy a Player in ECS

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 Destroy a Player in ECS"

Full workflows and code to self-destruct as a Player

Click Here for DOTS Tutorial

This gitbook takes you through step-by-step full workflows and code to self-destruct as a Player. Once you've coded along and fully finished the How To Destroy a Player tutorial, you will be able to self-destruct as a Player.

Click Here for DOTS Tutorial

High-Level steps to Destroy a Player:

Number 01

Update current spawn system to add a Destroy Tag when key is pressed

Number 02

create destroy system to destroy Player entity

Number 03

press play to test out hitting key for Player to self-destruct