Skip to content

Home > @esengine/ecs-framework-monorepo > DebugManager

DebugManager class

调试管理器

整合所有调试数据收集器,负责收集和发送调试数据

Signature:

typescript
export declare class DebugManager

Constructors

Constructor

Modifiers

Description

(constructor)(coreProvider, config)

Constructs a new instance of the DebugManager class

Methods

Method

Modifiers

Description

getDebugData()

获取调试数据

onFrameUpdate(deltaTime)

帧更新回调

onSceneChanged()

场景变更回调

start()

启动调试管理器

stop()

停止调试管理器

updateConfig(config)

更新配置

基于 MIT 许可证发布