你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
发现
话题
全文搜索
登录
[]无法清除指定定时器
发起一个定时器: Laya.timer.loop(1000,this,this.fan);
当执行 Laya.timer.clear(this,this.fan);时,
控制台还是在执行 fan 函数里的代码
没有找到相关结果
已邀请:
与内容相关的链接
提交
1 个回复
w1114367261
赞同来自:
Laya.timer.loop(100, this, looppp);
private function looppp():void
{
trace("______________________");
}
this.stage.on(Event.MOUSE_UP, this, onB);
private function onB():void
{
Laya.timer.clear(this, this.looppp);
SoundManager.playSound("res/sound/onClick.wav");
}
我这边测试没有问题哦!你再查看下你的逻辑是不是有其他的逻辑影响
要回复问题请先
登录
发起人
185*****207
相关问题
2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了?
spine在微信小游戏中切换动画无法显示
Laya拖尾怎么停止或清除,比如要瞬移角色的时候停止。伤脑壳~~!!
3D模型无法修改scale?
module写法的模块无法使用,其他地方使用会报错
laya3D动画无法播放
[Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题
将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动
Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目
【BUG备忘录】关于Tween动画无法正常作用问题-解决办法
点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决?
问题状态
最新活动:
2018-05-08 16:44
浏览:
1954
关注:
2
人
商务合作
1 个回复
w1114367261
赞同来自:
private function looppp():void
{
trace("______________________");
}
this.stage.on(Event.MOUSE_UP, this, onB);
private function onB():void
{
Laya.timer.clear(this, this.looppp);
SoundManager.playSound("res/sound/onClick.wav");
}
我这边测试没有问题哦!你再查看下你的逻辑是不是有其他的逻辑影响