在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
local scheduler = cc.Director:getInstance():getScheduler() local function shouldNotCrash(dt) end local function StressTest1_onEnterOrExit(tag) if tag == "enter" then StressTest1_entry = scheduler:scheduleScriptFunc(shouldNotCrash, 1.0, false) elseif tag == "exit" then scheduler:unscheduleScriptEntry(StressTest1_entry) end end
|
请发表评论