Home > @esengine/ecs-framework-monorepo > WorldManager > createWorld
WorldManager.createWorld() method
创建新World
Signature:
typescript
createWorld(worldId: string, config?: IWorldConfig): World;
Parameters
Parameter | Type | Description |
---|---|---|
worldId | string | |
config | (Optional) |
Returns: