Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ getWorld
Method
getWorld
packages/core/src/ECS/WorldManager.ts:140–142 ·
view source on GitHub ↗
* 获取World
(worldName: string)
Source
from the content-addressed store, hash-verified
138
* 获取World
139
*/
140
public getWorld(worldName: string): World | null {
141
return
this._worlds.get(worldName) || null;
142
}
143
144
/**
145
* 获取所有World ID
Callers
3
WorldManager.test.ts
File · 0.45
WorldCoreIntegration.test.ts
File · 0.45
initialize
Method · 0.45
Calls
1
get
Method · 0.65
Tested by
no test coverage detected