文档

Unity Engine

Unity Engine

AlwaysUpdateSystemAttribute

Obsolete. Systems now update by default.
阅读时间3 分钟最后更新于 19 天前

Definition

警告
Deprecated. AlwaysUpdateSystem is deprecated. Systems now always update by default. Use RequireMatchingQueriesForUpdate if you want a System to only update if one of its queries matches. (RemovedAfter Entities 1.0)
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]public class AlwaysUpdateSystemAttribute : Attribute

Remarks

Obsolete. Systems now update by default. Use RequireMatchingQueriesForUpdateAttribute if you want a system to only update if one of its queries is non-empty.
This attribute causes a system to update even if none of its registered queries matched any entities.

Inheritance

Inherited Members