Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetEntityId()

Gets the EntityId of the object.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public EntityId GetEntityId()

Returns

Type

Description

EntityIdReturns the EntityId of the object.

Remarks

The
EntityId
of an object acts like a handle to the in-memory instance. It is always unique, and never has the value
EntityId.None
for valid objects.