文档

Unity Engine


User Manual

Script Reference

Unity Engine


EntityIdToObject(EntityId)

Translates an EntityId to an object reference.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Object EntityIdToObject(EntityId entityId)

Parameters

entityId

EntityId of an Object.

Returns

Type

Description

ObjectResolved reference or null if the EntityId didn't match anything.