文档

Unity Engine

Unity Engine

GetEntityId()

Gets the EntityId of the object.
阅读时间1 分钟最后更新于 1 个月前

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.