文档

Unity Engine

Download Unity

Unity Engine

WithAbsentChunkComponent<T>()

Add an absent Chunk Component type to the query.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public EntityQueryBuilder WithAbsentChunkComponent<T>()

Returns

Type

Description

EntityQueryBuilderThe builder object that invoked this method.

Remarks

Call this method on the query builder to exclude any entities that have the specified chunk component. Chunk components are a distinct component type, which are different from excluding the same type as a standard component.
To add additional excluded Chunk Components, call this method multiple times.
To add component types that are not known at compile time, use EntityQueryBuilder.WithNone@@<c>1(</c>@@0)