mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Compilation succeed after remove Action in native
This commit is contained in:
@@ -163,18 +163,6 @@ void ScriptEngineManager::destroyInstance()
|
||||
}
|
||||
}
|
||||
|
||||
bool ScriptEngineManager::sendActionEventToJS(Action* actionObject, int eventType, void* param)
|
||||
{
|
||||
auto scriptEngine = getInstance()->getScriptEngine();
|
||||
|
||||
ActionObjectScriptData data(actionObject,(int*)&eventType, param);
|
||||
ScriptEvent scriptEvent(kScriptActionEvent,(void*)&data);
|
||||
if (scriptEngine->sendEvent(&scriptEvent))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ScriptEngineManager::sendNodeEventToJS(Node* node, int action)
|
||||
{
|
||||
auto scriptEngine = getInstance()->getScriptEngine();
|
||||
|
||||
Reference in New Issue
Block a user