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

Method setEnabled

packages/core/src/Utils/Profiler/ProfilerSDK.ts:152–154  ·  view source on GitHub ↗

* 启用/禁用分析器

(enabled: boolean)

Source from the content-addressed store, hash-verified

150 * 启用/禁用分析器
151 */
152 public static setEnabled(enabled: boolean): void {
153 ProfilerSDK.getInstance().setEnabled(enabled);
154 }
155
156 /**
157 * @zh 检查是否启用

Callers 1

onInitializeMethod · 0.45

Calls 2

getInstanceMethod · 0.45

Tested by

no test coverage detected