World
Construct a new World instance
阅读时间1 分钟最后更新于 19 天前
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