文档

Unity Engine

Download Unity

Unity Engine

FromEntityId(EntityId)

Creates a reference to the object with the given EntityId.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.CoreModule
public static UnityObjectRef<T> FromEntityId(EntityId entityId)

Parameters

entityId

EntityId
The EntityId of the object to reference.

Returns

Type

Description

UnityObjectRef<T>A UnityObjectRef referencing the object.