Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 568 Bytes

File metadata and controls

7 lines (4 loc) · 568 Bytes

GameObjectEntity

ECS ships with the GameObjectEntity component. It is a MonoBehaviour. In OnEnable, the GameObjectEntity component creates an Entity with all components on the GameObject. As a result the full GameObject and all its components are now iterable by ComponentSystem classes.

Note: for the time being, you must add a GameObjectEntity component on each GameObject that you want to be visible / iterable from the ComponentSystem.

Back to Capsicum reference