Documentation

Unity Engine


Unity Engine


AddAll(ComponentType)

Obsolete. Use EntityQueryBuilder.WithAll instead.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
Warning
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.