ドキュメント

Unity Engine

Download Unity

Unity Engine

AddNone(ComponentType)

Obsolete. Use EntityQueryBuilder.WithNone instead.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

The component type

Returns

Type

Description

EntityQueryBuilderThe builder object that invoked this method.

Remarks

Obsolete. Use EntityQueryBuilder.WithNone 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 ComponentType.AccessMode.ReadWrite, will be forced to NativeArray<T>.ReadOnly in the query.