refactor(docs): add GameObject UUID methods and Component serialization methods

This commit is contained in:
2026-03-26 01:55:34 +08:00
parent 1326860e5d
commit 5047d56080
7 changed files with 86 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ GameObject 是 XCEngine ECS 架构中的实体Entity代表游戏世
| 方法 | 描述 |
|------|------|
| [`GetID`](get-id.md) | 获取唯一标识符 |
| [`GetUUID`](get-uuid.md) | 获取全局唯一标识符 |
| [`GetName`](get-name.md) | 获取名称 |
| [`SetName`](set-name.md) | 设置名称 |
| [`GetScene`](get-scene.md) | 获取所属场景 |
@@ -46,6 +47,7 @@ GameObject 是 XCEngine ECS 架构中的实体Entity代表游戏世
| 方法 | 描述 |
|------|------|
| [`DetachFromParent`](detach-from-parent.md) | 从父对象分离 |
| [`GetParent`](get-parent.md) | 获取父对象 |
| [`SetParent`](set-parent.md) | 设置父对象 |
| [`GetChildCount`](get-child-count.md) | 获取子对象数量 |
@@ -65,9 +67,9 @@ GameObject 是 XCEngine ECS 架构中的实体Entity代表游戏世
| 方法 | 描述 |
|------|------|
| `static Find(name)` | 查找指定名称的对象 |
| `static FindObjectsOfType()` | 查找所有对象 |
| `static FindGameObjectsWithTag(tag)` | 查找具有指定标签的对象 |
| [`Find`](find.md) | 查找指定名称的对象 |
| [`FindObjectsOfType`](find-objects-of-type.md) | 查找所有对象 |
| [`FindGameObjectsWithTag`](find-game-objects-with-tag.md) | 查找具有指定标签的对象 |
### 生命周期