fix(docs): 修正 v2.2.16 组件生命周期描述 (#278)

This commit is contained in:
YHH
2025-12-05 16:01:07 +08:00
committed by GitHub
parent e8fc7f497b
commit 2cb9c471f9
2 changed files with 2 additions and 6 deletions

View File

@@ -84,9 +84,7 @@ This document records the version update history of the `@esengine/ecs-framework
### Features
- **Component lifecycle**: Add component lifecycle callback support (#237)
- `onEnable()`: Called when component is enabled
- `onDisable()`: Called when component is disabled
- `onDestroy()`: Called when component is destroyed
- `onDeserialized()`: Called after component is loaded from scene file or snapshot restore, used to restore runtime data
- **ServiceContainer enhancement**: Improve service container functionality (#237)
- Support `Symbol.for()` pattern for service identifiers