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