# World

> Construct a new World instance

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

## World(string, WorldFlags)

Construct a new World instance

```csharp
public World(string name, WorldFlags flags = WorldFlags.Simulation)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name to assign to the new World**** (\[WorldFlags]\(/engine/7000.0/script-reference/unity/entities/worldflags)): The flags to assign to the new World

## World(string, WorldFlags, AllocatorHandle)

Construct a new World instance

```csharp
public World(string name, WorldFlags flags, AllocatorManager.AllocatorHandle backingAllocatorHandle)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name to assign to the new World**** (\[WorldFlags]\(/engine/7000.0/script-reference/unity/entities/worldflags)): The flags to assign to the new World**** (\[AllocatorHandle]\(/engine/7000.0/script-reference/unity/collections/allocatormanager/allocatorhandle)): The allocator to use for any of the world's internal memory allocations
