大约有 1,651 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1312) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(40) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(19)
...s id is3D layer meshFilter meshRenderer minX minZ numChildren parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnc...
来源: Laya3.0_api 发布时间: 20231102
提一个bug Laya的timer,如果使用clear(caller: any, method: Function): void;这个方法,根本无法清理定时器! laya.core.js: 9032行clear的代码里面,完全没有涉及到对this._handlers这个的清理,而在对定时器调用的时候,this._handlers会不断增加,...
来源: Laya_社区 发布时间: 20190109
...s ); } this.apesCon.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.timer.frameLoop(1, this, this.animate); } animate() { this.apesCon.rotation += 1; } } new Sprite_Container();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = La...
来源: Laya2.0_示例 发布时间: 20260106
...ild(ape); } apesCtn.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.timer.frameLoop(1, this, animate); } function animate(e) { apesCtn.rotation += 1; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import W...
来源: Laya_示例 发布时间: 20260106
如何判断是否已经存在某个定时器。 比如:Laya.timer.once(3000, this, this.stopRoll); 怎样判断下是否有这个定时器?怎样判断? 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20180502
..."res/bg1.png"); bg2.pos(650, 0); box.addChild(bg2); Laya.timer.frameLoop(1, this, bg_loop()); } function bg_loop() { box.x -= 1; if (bg1.x + box.x <= 0) { bg1.y = 650 } if (bg2.x + box.x <= 0) { bg2.x = 650 } } bg_rolling(...
来源: Laya_社区 发布时间: 20160721
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite treeLevel :...
来源: laya_api 发布时间: 20170422
...么 2017-12-17 0 0 分享 微博 QZONE 微信 game4d 赞同来自: 使用 timer.delta chrome 应该就会报错 2017-12-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 game4d 相关问题 两个对象new了一个相同的对象,调...
来源: Laya_社区 发布时间: 20171217
...相关的链接 提交 1 个回复 Laya_Xq 赞同来自: 你可以看一下timer,laya里面的Laya.timer可以实现和unity协成类似的效果 2018-05-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yzbgyc 相关问题 看了其...
来源: Laya_社区 发布时间: 20180428
...。这个时候调用自带库里面的代码提示也消失。比如Laya.timer.once (timer 和 once 都不会提示出来) Yangcy • 2019-04-19 14:11 你好 现在已经升级到了2.0.2版本了 还是没有修复哦。。。。??
来源: Laya_社区 发布时间: 20190404