如题, 我使用schedule(timer_,timer_callback, 1);启动一个timer, 使用timer_:unscheduleUpdate();关闭这个timer无效, 它还是不停的调用指定的回调函数; timer是一个Sprite对象, 请问如果停止timer_的回调函数呢
3.0 在lua中使用schedulerID = cc.Director:getInstance():getScheduler():scheduleScriptFunc(timer_callback, 0, false);启动一个计时器
使用cc.Director:getInstance():getScheduler():unscheduleScriptEntry(schedulerID)停止一个计时器
其中scheduleScriptFunc(timer_callback, 0, false)第三个参数表示回调函数是调用一次还是多次, 第二个参数就是时间间隔了