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