Documentation

Unity Engine


Unity Engine


AddAny(ComponentType)

Obsolete. Use EntityQueryBuilder.WithAny instead.
Read time 1 minuteLast updated 4 days ago

Definition

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

Parameters

The component type

Returns

Type

Description

EntityQueryBuilderThe builder object that invoked this method.

Remarks

Obsolete. Use EntityQueryBuilder.WithAny instead.
Add an "any" matching type to the current query.