Documentation

Unity Engine

Download Unity

Unity Engine

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

entity

The entity.

Returns

Type

Description

WorldThe world that owns the entity.