Skip to content

Home > @esengine/ecs-framework-monorepo > WorldManager > getWorld

WorldManager.getWorld() method

获取World

Signature:

typescript
getWorld(worldId: string): World | null;

Parameters

Parameter

Type

Description

worldId

string

Returns:

World | null

基于 MIT 许可证发布