docs(scripting): add baseline api reference and guide
This commit is contained in:
21
docs/api/XCEngine/Scripting/ScriptComponent/OnDestroy.md
Normal file
21
docs/api/XCEngine/Scripting/ScriptComponent/OnDestroy.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# ScriptComponent::OnDestroy
|
||||
|
||||
**命名空间**: `XCEngine::Scripting`
|
||||
|
||||
**类型**: `method`
|
||||
|
||||
**头文件**: `XCEngine/Scripting/ScriptComponent.h`
|
||||
|
||||
## 签名
|
||||
|
||||
```cpp
|
||||
void OnDestroy() override;
|
||||
```
|
||||
|
||||
## 当前实现行为
|
||||
|
||||
直接调用 `ScriptEngine::Get().OnScriptComponentDestroyed(this)`。
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [ScriptEngine::OnScriptComponentDestroyed](../ScriptEngine/OnScriptComponentDestroyed.md)
|
||||
Reference in New Issue
Block a user