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 or perform some custom world initialization. This lets you override the bootstrap of game code world creation.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public interface ICustomBootstrap
Methods
Name | Description |
---|---|
Initialize(string) | Called during default world initialization to give the application a chance to set up additional worlds beyond (or instead of) the default world, and to perform additional one-time initialization before any worlds are created. |