Sunday, November 19, 2017

Sample code: public static void purchase(List<IgawCommerceItemModel> items) { #if UNITY_5_3_OR_NEWER ...

1. Cocos2d Tutorial and Guide list: https://github.com/MobileAppTracking/cocos2dx-plugin 2. Create new project: Run/cmd cocos new hello -p com.vn.hello -l cpp -d q:/android/project 3. Plugin: http://stnguyen.com/cocos2d-x/call-java-functions-from-cpp.html http://stnguyen.com/cocos2d-x/call-cpp-functions-from-java.html http://journals.ecs.soton.ac.uk/java/tutorial/native1.1/implementing/method.html http://journals.ecs.soton.ac.uk/java/tutorial/native1.1/implementing/index.html http://stnguyen.com/cocos2d-x/call-cpp-functions-from-java.html http://www.slideshare.net/vienbk91/jni-48734418 Call C++ functions from Java in cocos2d-x 31...