Hi, I would like to know to exit the game from Lua
thanks!
mee too
why no one answer this question:(
I found it
CCDirector:sharedDirector():endToLua()
For iOS devices,call this funcion would lead to crash because iOS devicesās exit
mechanism is special.