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

@@ -0,0 +1,15 @@
# GameObject::DetachFromParent
从父对象分离。
```cpp
void DetachFromParent();
```
将当前 GameObject 从其父对象分离。分离后,该对象将成为根对象,但其子对象会保持为它的子对象。
## 相关文档
- [GameObject 总览](game-object.md)
- [SetParent](set-parent.md)
- [DetachChildren](detach-children.md)