576 B
576 B
ScriptEngine::OnScriptComponentDisabled
命名空间: XCEngine::Scripting
类型: method
头文件: XCEngine/Scripting/ScriptEngine.h
签名
void OnScriptComponentDisabled(ScriptComponent* component);
当前实现行为
- 只有运行时已启动、组件存在且当前状态
enabled == true时才继续。 - 调用
OnDisable生命周期。 - 然后把
state.enabled置为false。