DOTS Gameplay: ComponentDataFromEntity
Chapters
In this episode, we create a new Chaser Entity to showcase how to create relationships between Entities. We can add a component to hold another Entity's ID, then use the ComponentDataFromEntity structure to get access to its Translation. With a few extra tweaks to our existing Systems, the new Chaser Entity is born!
Starter Project:
https://github.com/UnityGameAcademy/DOTSComponentDataFromEntity/commit/12348d54c9c7aba04fb0a3e938c6df0983281aef
Final Project:
https://github.com/UnityGameAcademy/DOTSComponentDataFromEntity/commit/7d730de101c0c679d8263d2a154cadb9e6d08acd
TimeStamps:
Software: Unity 2019.3.11f1 with HybridRender Version 0.5.0 and Entities Version 0.10.0 from the PackageManager.
Also check out the previous videos in this series:
DOTS Gameplay: Basic Player Input and Movement
https://youtu.be/lFl2SMfhvoA
DOTS Gameplay: Tags
https://youtu.be/6iNXkR3ukD0
Want to learn more about DOTS and ECS? Sign up for our mailing list to get notified when the premium course releases:
https://gameacademy.school/introduction-to-dots/
Want to support this channel? Subscribe to our premium courses at GameAcademy.school:
https://gameacademy.school/portfolio/
Let’s build something cool together!
Education
#Unity
#DOTS
#ECS
#Tutorial
#Game Development
#GameDev
#IndieGameDev
#Data-Oriented Design
#Intro to DOTS
#DOTS Beginner
#Getting Started in DOTS
#JobSystem
#C#JobSystem
#Multithreaded
#DOTS Gameplay
#UnityDOTSTutorial
#Unity 2020
#Unity 2019