GetWorld(Entity)
Gets the managed world that owns an entity.
阅读时间1 分钟最后更新于 1 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
[ExcludeFromBurstCompatTesting("Returns managed World")]public static World GetWorld(Entity entity)
Parameters
The entity.
Returns
Type | Description |
|---|---|
| World | The world that owns the entity. |