Hey guys,
When I bind my custom C++ class to js I will have an opportunity to use it only on native platforms? It just won’t work on web, right?
Please correct me if I am wrong.
Hey guys,
When I bind my custom C++ class to js I will have an opportunity to use it only on native platforms? It just won’t work on web, right?
Please correct me if I am wrong.
You are right, the API you bound from C++ class will only be available in JSB, on web, you need to implement the same API in the web way. That’s basically what we have done in Cocos2d-JS
Thank you, now it is clear for me.