I want to know the target platform in lua, but I don’t know how,could anybody tell me? thanks a lot.
how get platform info in lua
In the v3.0,you can use
cc.Application:getInstance():getTargetPlatform(), and in the v2.2 you can use