大约有 2,661 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0071 秒)
Laya_社区(2342) Laya2.0_文档(106) Laya3.0_文档(59) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
...) return null; } var tSound:Sound; if (!Browser.onMiniGame) { tSound= Laya.loader.getRes(url); } if (!soundClass) soundClass = _soundClass; if (!tSound) { tSound = new soundClass(); tSound.load(url); if (!Browser.onMiniGame) { Loader.cacheRes(url, tSound); } } var channel:SoundChannel; channel = tSo...
来源: Laya_社区 发布时间: 20190115
...el骨骼动画播放失败,编辑器预览没问题 复现代码: Laya.loader.load("https://hlsgs.sanguosha.com/re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton(); this.skeleton.templet = templet; console.log("动画数...
来源: Laya_社区 发布时间: 20250928
...吗? 关于Laya实现Matter.js官方案例凹多边形的问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 Laya 鼠标Cursor怪异问题,有demo 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 小游戏项目 加载有中文的js...
来源: Laya_社区 发布时间: 20170321
...source:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100))...
来源: Laya2.0_文档 发布时间: 20210715
...[0]+eggLoc[i][1]); b.graphics.drawTexture(Laya.loader.getRes(Res),tx-45,ty-45); b.size(92,96); b.name = "egg"+i; Laya.stage.addChild(b); b.on(Event.MOUSE_DOWN, ...
来源: Laya_社区 发布时间: 20170517
...ya.core.js:726) at ResInfo.__proto.event (laya.core.js:494) at LoaderManager.__proto._endLoad (laya.core.js:13347) __proto._initBufferDatas @ laya.d3.js:26634 (anonymous) @ laya.d3.js:27190 __proto._parseCustomProps @ laya.d3.js:40855 Utils3D._createNodeByJson @ laya.d3.js:17945 Utils3D....
来源: Laya_社区 发布时间: 20180731
...的时候可以正常显示,但是刷新过后,问题出现了,Laya.loader.load("res/atlas/comp.json", Handler.create(this, onLoaded), null, Loader.ATLAS);这里的onLoaded函数不会被触发,导致后续界面不显示。如果点QQ小程序开发者工具里的清理缓存,界面又再...
来源: Laya_社区 发布时间: 20191017
...ror - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 问题状态 最新活动: 2019-07-05 11:11 浏览: 2056 关注: 2 人 麟。 • 2019-07-11 15:37 很容易复现...
来源: Laya_社区 发布时间: 20190704
...8-03-27 10:33 浏览: 1439 关注: 2 人 seacole • 2018-03-27 11:22 Laya.loader.load([{ url: 'wxlocal/load.json', type: Laya.Loader.ATLAS }], Laya.Handler.create(this, this.loadComplete)); 我就是这么调用的,但是load.json这个文件还是去远程拉了。该怎么解? Laya_Aaron • ...
来源: Laya_社区 发布时间: 20180327
...lse); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMon...
来源: Laya_示例 发布时间: 20251219