Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EntityIdIsValid(EntityId)

Checks whether an EntityId corresponds to a valid Object in memory. The Object could have been deleted or not loaded into memory yet.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool EntityIdIsValid(EntityId entityId)

Parameters

entityId

EntityId of an Object.

Returns

Type

Description

booltrue if the EntityId corresponds to a valid Object in memory.