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
World(string, WorldFlags, AllocatorHandle)
Construct a new World instance
public World(string name, WorldFlags flags, AllocatorManager.AllocatorHandle backingAllocatorHandle)
Parameters
The name to assign to the new World
The flags to assign to the new World
The allocator to use for any of the world's internal memory allocations