• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,651 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0066 秒)

211. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 73%]

...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

212. 提一个bug [ 73%]

提一个bug Layatimer,如果使用clear(caller: any, method: Function): void;这个方法,根本无法清理定时器! laya.core.js: 9032行clear的代码里面,完全没有涉及到对this._handlers这个的清理,而在对定时器调用的时候,this._handlers会不断增加,...

来源: Laya_社区 发布时间: 20190109

213. Sprite-容器 [ 73%]

...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

214. Sprite-容器 [ 73%]

...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

215. 如何判断是否已经存在某个定时器。 [ 73%]

如何判断是否已经存在某个定时器。 比如:Laya.timer.once(3000, this, this.stopRoll); 怎样判断下是否有这个定时器?怎样判断? 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

来源: Laya_社区 发布时间: 20180502

216. 飞机大战地图滚动报错,麻烦看下? [ 73%]

..."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

217. laya.d3.core.scene.VRScene [ 73%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite treeLevel :...

来源: laya_api 发布时间: 20170422

218. 有些方法是不是要更新了 [ 73%]

...么 2017-12-17 0 0 分享 微博 QZONE 微信 game4d 赞同来自: 使用 timer.delta  chrome 应该就会报错 2017-12-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 game4d 相关问题 两个对象new了一个相同的对象,调...

来源: Laya_社区 发布时间: 20171217

219. 麻烦问一下,laya有没有类似于unity的协成操作? [ 73%]

...相关的链接 提交 1 个回复 Laya_Xq 赞同来自: 你可以看一下timerlaya里面的Laya.timer可以实现和unity协成类似的效果 2018-05-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yzbgyc 相关问题 看了其...

来源: Laya_社区 发布时间: 20180428

220. Laya 2.0.1 mac 版本 搜索方法效果失效 [ 73%]

...。这个时候调用自带库里面的代码提示也消失。比如Laya.timer.once (timer 和 once 都不会提示出来) Yangcy • 2019-04-19 14:11 你好 现在已经升级到了2.0.2版本了 还是没有修复哦。。。。??

来源: Laya_社区 发布时间: 20190404