大神们,请问我从2.1.3升级到2.3.4遇到oc无法调用js的问题,该如何解决
Application::getInstance()->getScheduler()->performFunctionInCocosThread([=](){
se::ScriptEngine::getInstance()->evalString(script.c_str());
});
https://docs.cocos.com/creator/manual/zh/advanced-topics/oc-reflection.html
请问我Application::getInstance()->getScheduler()->performFunctionInCocosThread点不出这个方法是为什么,只能点到getSchedule
#include "platform/CCApplication.h"
#include "base/CCScheduler.h"
#include "cocos/scripting/js-bindings/jswrapper/SeApi.h"
好的,谢谢
