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