Documentation

Unity Engine


Unity Engine


FromEntityId(EntityId)

Creates a reference to the object with the given EntityId.
Read time 1 minuteLast updated 2 days ago

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.