Skip to content

Home > @esengine/ecs-framework-monorepo > Component > onEnabled

Component.onEnabled() method

组件启用时的回调

当组件被启用时调用。

Signature:

typescript
onEnabled(): void;

Returns:

void

基于 MIT 许可证发布