Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Cannot retrieve latest commit at this time.
0 contributors

Users who have contributed to this file

13 lines (6 sloc) 842 Bytes

ComponentSystem

A ComponentSystem in Unity (also known as a system in standard ECS terms) performs operations on entities. A ComponentSystem cannot contain instance data. To put this in terms of the old Unity system, this is somewhat similar to an old Component class, but one that only contains methods. One ComponentSystem is responsible for updating all Entities with a matching set of components (that is defined within a struct called a ComponentGroup).

Unity ECS provides an abstract class called ComponentSystem that you can extend in your code.

See file: /Packages/com.unity.entities/Unity.Entities/ComponentSystem.cs.

See also: System update order.

Back to Unity Data-Oriented reference