Interface ICustomBootstrap
When entering playmode or the game starts in the Player. A default world is created, sometimes you need multiple worlds to be setup when the game starts. This lets you override the bootstrap of game code world creation.
Namespace: Unity.Entities
Syntax
public interface ICustomBootstrap
Methods
Initialize(String)
Declaration
bool Initialize(string defaultWorldName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | defaultWorldName |
Returns
| Type | Description |
|---|---|
| Boolean |