Method AddAny
AddAny(ComponentType)
Obsolete. Use Unity.Entities.EntityQueryBuilder.WithAny(Unity.Entities.ComponentType*,System.Int32) instead.
Declaration
[Obsolete("Use WithAny<T,...> instead, or WithAny(INativeList) if component types are not known at compile time. (RemovedAfter Entities 1.0)", false)]
public EntityQueryBuilder AddAny(ComponentType t)
Parameters
Type | Name | Description |
---|---|---|
ComponentType | t | The component type |
Returns
Type | Description |
---|---|
EntityQueryBuilder | The builder object that invoked this method. |
Remarks
Obsolete. Use Unity.Entities.EntityQueryBuilder.WithAny(Unity.Entities.ComponentType*,System.Int32) instead.
Add an "any" matching type to the current query.