Method AddNone
AddNone(ComponentType)
Obsolete. Use Unity.Entities.EntityQueryBuilder.WithNone(Unity.Entities.ComponentType*,System.Int32) instead.
Declaration
[Obsolete("Use WithNone<T,...> instead, or WithNone(INativeList) if component types are not known at compile time. (RemovedAfter Entities 1.0)", false)]
public EntityQueryBuilder AddNone(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.WithNone(Unity.Entities.ComponentType*,System.Int32) instead.
Add a "none" matching type to the current query. Types in the None list are never written to. If the AccessModeType field of the provided component type is ReadWrite, will be forced to ReadOnly in the query.