Creator 2.1 ScriptingCore 没了吗。。
我看之前的1.x是有的,没有了我用哪个函数啊。。
多谢
你好
全平台统一为了 ScriptEngine,
现在的头文件在 cocos2d-x/cocos/scripting/js-bindings/jswrapper/SeApi.h
参考下这个帖子的讨论
https://forum.cocos.com/t/cocoscreator-2-0-scriptingcore-getinstance-evalstring-astr/66730
是要在xcode里面引用cocos2d-x/cocos/scripting/js-bindings/jswrapper/SeApi.h 这个吗?