大约有 1,651 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya_社区(1312) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(40) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(19)
...流光的shader 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 服务端用什么语言开发比较好一些? 希望能加入条件编译的功能 LayaAir 3D 有提供 3D 物理引擎功能吗? 微信小程序 发布后缺少app.json文件 [引擎优化]希望官方...
来源: Laya_社区 发布时间: 20240702
...,可以试下, 先设置物体的active为false,再使用Laya.timer.once调用destroy方法,因为有些组件还在onupdate中,不可以立刻删除 图集的话,可以试下 使用loader.clearRes()来清除缓存。 2019-04-28 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20190415
..."0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { Laya.Resource.destroyUnusedResources(); }); } 当触发了释放资源的函数,会报错如下: laya.webgl.js:5713 Uncaught TypeError: Cannot read property '_targets' of null at WebGLC...
来源: Laya_社区 发布时间: 20181016
...); this.addChild(dialog); if (dialog.isModal || this._$P["hasZorder"])this.timer.callLater(this,this._checkMask); this.popupEffect && this.popupEffect(dialog); this.event(/*laya.events.Event.OPEN*/"open"); }这个是源码open方法的实现~ if (closeOther)this.removeChildren(); 只有删...
来源: Laya_社区 发布时间: 20170807
..."atk"); Laya.Animation.createFrames(this.aniUrls("move", 4), "move"); Laya.timer.loop(1000, this, this.animateTimeBased); } private animateTimeBased() { this.roleAni.interval = 100; //循环播放动画 this.roleAni.play(0, false, "atk"); //this.roleAni.play(0,true,"fire"); //this.timeLine.addLabel(...
来源: Laya_社区 发布时间: 20171228
...ect:Laya.Vector3 = new Laya.Vector3(1,0,0); //每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); }); 以上是代码 出现的问题是有一个物体 然后另外一个物体在旋转 2018-08-08 添加评论 已悬赏2元 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20180808
...景编辑器时 Laya3D init error must support webGl 关闭指定定时器timer Laya2.0 内嵌模式、加载模式、分离模式、文件模式的场景加载创建和场景打开关闭 Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式...
来源: Laya_社区 发布时间: 20180414
....spine.js:656) at SpineTemplet_3_x.loop (laya.spine.js:638) at TimerHandler.run (laya.core.js:22293) at Timer._update (laya.core.js:22144) at Stage._updateTimers (laya.core.js:17717) at Stage.render (laya.core.js:17679)(env: Windows,mg,1.05.2110152; lib: 2.20.2) 附件 ...
来源: Laya_社区 发布时间: 20211207
... Handler(this, this.onChange); Laya.stage.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); } private changeValue(): void { if (this.progressBar.value >= 1) this.progressBar.value = 0; this.progressBar.value += 0.05; } private onChange(value: number): void { console.log("进...
来源: Laya2.0_文档 发布时间: 20210715
...,不会生成场景类了,此时该如何获得场景内的元素 Laya.timer.loop()如何停止 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 ios14系统下 blendMode='lighter' 图片异常 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 求教: sou...
来源: Laya_社区 发布时间: 20170628