摘要:
CC_CALLBACK_1,CC_CALLBACK_2,CC_CALLBACK_3这些都是std::bind的宏,数字1,2,3主要表示要占位的数量,也是将来传递参数的数量。// new callbacks based on C++11#define CC_CALLBACK_0(__selector... 阅读全文
摘要:
local scheduler = cc.Director:getInstance():getScheduler()local function shouldNotCrash(dt)endlocal function StressTest1_onEnterOrExit(tag) if tag ==... 阅读全文