Documentation

Unity Engine


Unity Engine


IsQueryValid(EntityQuery)

Check if an entity query is still valid
Read time 1 minuteLast updated 3 days ago

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).