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
Returns
Type | Description |
|---|---|
| UnityObjectRef<T> | A UnityObjectRef referencing the object. |