Method AddNone
AddNone(ComponentType)
Obsolete. Use WithNone(ComponentType*, int) 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 WithNone(ComponentType*, int) 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 <xref href="Unity.Entities.ComponentType.AccessMode.ReadWrite" data-throw-if-not-resolved="false"></xref>, will be forced to
<xref href="Unity.Collections.NativeArray%601.ReadOnly" data-throw-if-not-resolved="false"></xref> in the query.