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.
読み終わるまでの所要時間 1 分最終更新 23日前
Definition
- Type: Interface
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public interface ICustomBootstrap
Methods
Method | Description |
|---|---|
| CreateDefaultWorldWithoutSystems | 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. |
| Initialize | 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. |