MCPcopy Create free account
hub / github.com/esengine/esengine / install

Method install

packages/core/src/Plugins/DebugPlugin.ts:115–123  ·  view source on GitHub ↗

* 安装插件

(_core: Core, services: ServiceContainer)

Source from the content-addressed store, hash-verified

113 * 安装插件
114 */
115 async install(_core: Core, services: ServiceContainer): Promise<void> {
116 this.worldManager = services.resolve(WorldManager);
117
118 logger.info('ECS Debug Plugin installed');
119
120 if (this.autoStart) {
121 this.start();
122 }
123 }
124
125 /**
126 * 卸载插件

Callers

nothing calls this directly

Calls 3

startMethod · 0.95
resolveMethod · 0.65
infoMethod · 0.45

Tested by

no test coverage detected