Unity Engine documentation Script Reference Unity.Entities DefaultWorldInitialization Initialize(string, bool) Initializes the default world or runs ICustomBootstrap if one is available.
Read time 1 minute
Last updated 2 days ago Definition
Type: Method
Namespace: Unity.Entities
Assembly: UnityEngine.EntitiesModule
public static World Initialize(string defaultWorldName, bool editorWorld = false)
Parameters
The name of the world that will be created. Unless there is a custom bootstrap.
Editor worlds by default only include systems with [WorldSystemFilter(WorldSystemFilterFlags.Editor)]. If editorWorld is true, ICustomBootstrap will not be used.
Returns