GetWorld(Entity)
Gets the managed world that owns an entity.
Read time 1 minuteLast updated a day ago
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. |