Component Systems | Entities | 0.2.0-preview.18
docs.unity3d.com
    Show / Hide Table of Contents

    Component Systems

    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 EntityQuery).

    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 top Copyright © 2019 Unity Technologies
    Generated by DocFX