Documentation

Unity Engine


Unity Engine


World

Construct a new World instance
Read time 1 minuteLast updated 13 hours ago

Definition

  • Type: Constructor
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

World(string, WorldFlags)

Construct a new World instance
public World(string name, WorldFlags flags = WorldFlags.Simulation)

Parameters

name

The name to assign to the new World

The flags to assign to the new World

World(string, WorldFlags, AllocatorHandle)

Construct a new World instance
public World(string name, WorldFlags flags, AllocatorManager.AllocatorHandle backingAllocatorHandle)

Parameters

name

The name to assign to the new World

The flags to assign to the new World

backingAllocatorHandle

The allocator to use for any of the world's internal memory allocations