您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
826 B
826 B
uid |
---|
ecs-component-system |
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 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.