refactor(docs): add GameObject UUID methods and Component serialization methods
This commit is contained in:
18
docs/api/components/game-object/find.md
Normal file
18
docs/api/components/game-object/find.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# GameObject::Find
|
||||
|
||||
查找指定名称的游戏对象。
|
||||
|
||||
```cpp
|
||||
static GameObject* Find(const std::string& name);
|
||||
```
|
||||
|
||||
**参数:**
|
||||
- `name` - 要查找的游戏对象名称
|
||||
|
||||
**返回:** `GameObject*` - 找到的游戏对象指针,如果未找到则返回 nullptr
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [GameObject 总览](game-object.md)
|
||||
- [FindObjectsOfType](find-objects-of-type.md)
|
||||
- [FindGameObjectsWithTag](find-game-objects-with-tag.md)
|
||||
Reference in New Issue
Block a user