Options for Entity Interaction
Offered By: Unity via YouTube
Course Description
Overview
Explore various options for entity interaction in Unity's Entity Component System (ECS) through this 43-minute conference talk from Unite Copenhagen. Dive into the fundamentals of game interaction, both between players and the game, and between different game components. Learn about the Entities package and its diverse approaches for enabling entity communication. Gain insights into the pros and cons of each method, helping you make informed decisions when choosing your code strategy for ECS projects. Follow along as speaker Luna Meier from Unity guides you through practical examples, including button-door interactions and follower-leader relationships. Discover key concepts such as identifying data domains, transformation processes, and implementation costs. Understand the use of ComponentDataFromEntity, state changes for communication, and the application of EntityCommandBuffer. Explore the distinction between read and write relationships, and acquire valuable tools for implementing entity interactions effectively in your Unity projects.
Syllabus
Intro
Button Interacting with Door
Steps to Implement Our Relationship
Follower vs Leader - Identify the Data
Follower vs Leader - Identify the Domain
Follower vs Leader - Identify the Frequency
Follower vs Leader - What's the Transformation?
Follower vs Leader - What's the Cost?
Follower vs Leader - What's the Frequency?
Follower vs Leader - Recap
Reading with ComponentDataFromEntity
Why is this the right tool for our problem?
A Word of Caution - Writing
Button vs Door - Data
Button vs Door - Transformation
Communicating through State Changes
Obtaining an EntityCommandBuffer
This One Neat Trick
Read Relationships vs Write Relationships
What is a Relationship?
Tools for Implementing Our Relationship
Taught by
Unity
Tags
Related Courses
Ask Me Anything About UnityUdemy Introduction to the Entity Component System in Unity
Pluralsight Learn A-Frame (VR)
Codecademy Basic Python Tutorials Series - Create a Roguelike
YouTube Code a 2D Game Engine using Java - Full Course for Beginners
freeCodeCamp