文档

Unity Engine

Unity Engine

IsQueryValid(EntityQuery)

Check if an entity query is still valid
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public bool IsQueryValid(EntityQuery query)

Parameters

The EnityQuery to check.

Returns

Type

Description

boolReturns true if the specified query handle is still valid (and can be disposed).