文档

Unity Engine

Unity Engine

ComponentSystemGroup

A special-case system that encapsulates an ordered list of other systems. When the group is updated, the group's member systems are updated in order.
阅读时间3 分钟最后更新于 19 天前

Definition

public abstract class ComponentSystemGroup : SystemBase

Properties

Property

Description

CreatedChecks if the system group is in a fully initialized and valid state
EnableSystemSortingIf true (the default), calling SortSystems() will sort the system update list, respecting the constraints imposed by [UpdateBefore] and [UpdateAfter] attributes.
ManagedSystemsThe list of managed systems in this group, sorted by update order.
RateGroupAllocatorsRetrieve double rewindable allocators of this rate system group.
RateManagerOptional field to control the update rate of this system group.

Methods

Method

Description

AddSystemToUpdateListAppends a managed system to the group's update list. The list will be sorted the next time the group is updated.
GetAllSystemsGet the list of all systems in this group, managed and unmanaged alike, sorted by update order.
GetUnmanagedSystemsGet the list of unmanaged systems in this group, sorted by update order.
OnUpdateUpdates the group's systems
RemoveSystemFromUpdateListRequests that a managed system be removed from the group's update list. The system will be removed the next time the group is sorted.
SetRateManagerCreateAllocatorSet optional rate manager for the system group and create group allocator.
SortSystemsUpdate the component system's sort order.

Inheritance

Inherited Members