大约有 523 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0128 秒)
Laya_社区(428) Laya2.0_文档(51) Laya2.0_示例(16) Laya_示例(12) Laya3.0_文档(10) laya_api(2) Laya3.0_api(2) Laya2.0_api(2)
...图片 执行代码说加载不出来资源 这个是怎么回事? Laya.Loader.getRes请教 问题状态 最新活动: 2019-03-26 10:16 浏览: 1251 关注: 2 人
来源: Laya_社区 发布时间: 20190313
...了,我用1.5.3版本的ide导出龙骨动画,加载龙骨动画 Laya.loader.getRes时报“Offset is outside the bounds of the DataView”请问怎么解决。 2017-04-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20170414
...范的问题哈 FD 宏编译时 出现 试图访问该方法时失败 Laya.Loader.getRes请教 请教下微信小游戏的内存和数据缓存? LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, 官方技术文档里:微信小游戏进阶处理,AS3,TS,JS并不相同...
来源: Laya_社区 发布时间: 20180801
...xtures[i]; var path=texture.path; (path)&& (material[texture.name]=Loader.getRes(path)); } 会出现无法将texture赋值到材质上。网页端没有问题 版本全部都是最新 2018-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20181207
...yaNative2.0 beta3 单像素图片平铺绘制失败 var tex:Texture = Laya.loader.getRes("res/repeattest.png");// 此图宽度只有1像素,横着平铺绘制无法显示 p.graphics.fillTexture(tex, 0, 0, 100, tex.height);// 无法显示 p.graphics.drawTexture(tex, 0, 0, 100, tex.height);// 正常...
来源: Laya_社区 发布时间: 20181025
...) 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
...码: --------源码--------- var aniData=_this_._parseGraphicAnimation(Loader.getRes(url)); if (!aniData)return; var aniList=aniData.animationList; var i=0,len=aniList.length; --------源码--------- 报错: aniList.length为null "Cannot read property 'length' of null" 2018-07-19 添加评论 ...
来源: Laya_社区 发布时间: 20180719
...的一个图片吗? //2D加载图集 var texture: Laya.Texture = Laya.loader.getRes("magic/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTexture(texture, 0, 0); Laya.stage.addChild(sp); //3D加载图集 var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMe...
来源: Laya_社区 发布时间: 20180331
...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_文档 发布时间: 20210714
Oppo加载.ls资源错误 Laya.loader.create("res/scenes/LayaScene_game/game.ls", Laya.Handler.create(this, () => { let gameScene = Laya.loader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { consol...
来源: Laya_社区 发布时间: 20190711