文档

Unity Engine

Download Unity

Unity Engine

AddAll(ComponentType)

Obsolete. Use EntityQueryBuilder.WithAll instead.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
警告
Deprecated. Use WithAll<T,...> instead, or WithAll(INativeList) if component types are not known at compile time. (RemovedAfter Entities 1.0)
public EntityQueryBuilder AddAll(ComponentType t)

Parameters

The component type

Returns

Type

Description

EntityQueryBuilderThe builder object that invoked this method.

Remarks

Obsolete. Use EntityQueryBuilder.WithAll instead.
Add an "all" matching type to the current query.