大约有 525 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya_社区(430) Laya2.0_文档(51) Laya2.0_示例(16) Laya_示例(12) Laya3.0_文档(10) laya_api(2) Laya3.0_api(2) Laya2.0_api(2)
...e(); // 守护神 this.angel = new Sprite(); // 加载主体的背景 Laya.loader.load("res/island.png", Handler.create(this, function() { // 图片加载 var t = Laya.loader.getRes("res/island.png"); var tBall = Texture.create(t,866,190,548,305); var tTower = Texture.create(t,data.tower[towerLel].x...
来源: Laya_社区 发布时间: 20170720
...uted){ return null; } }; var tSound; if (!Browser.onMiniGame){ tSound=Laya.loader.getRes(url); } if (!soundClass)soundClass=SoundManager._soundClass; if (!tSound){ tSound=new soundClass(); tSound.load(url); if (!Browser.onMiniGame){ Loader.cacheRes(url,tSound); } }; var channel; channel=tSound.play(...
来源: Laya_社区 发布时间: 20181019
...已可媲美APP 请教下微信小游戏的内存和数据缓存? Laya.Loader.getRes请教 请教一个关于laya2.5d项目美术规范的问题哈 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 大量sprite如何优化性能 请教—...
来源: Laya_社区 发布时间: 20170116
...模型文件 gltfFile: any = { skeleton: { url: "res/skeleton.gltf", type: Loader.JSON }, face: { url: "res/face.gltf", type: Loader.JSON }, eyes: { url: "res/eyes.gltf", type: Loader.JSON }, ... } // 装扮配置文件 makeupjson: any = { blusher: { cfg: "res/self/gltfMode/gltfBin/beautyResource/bl...
来源: Laya2.0_文档 发布时间: 20210715
...击区域? 请教一个关于laya2.5d项目美术规范的问题哈 Laya.Loader.getRes请教 关于同为object层,层级设置无效的问题 anchor锚点设置不生效 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Laya3D里的mate...
来源: Laya_社区 发布时间: 20170215
...范的问题哈 FD 宏编译时 出现 试图访问该方法时失败 Laya.Loader.getRes请教 请教下微信小游戏的内存和数据缓存? LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, 官方技术文档里:微信小游戏进阶处理,AS3,TS,JS并不相同...
来源: Laya_社区 发布时间: 20180801
...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
...xtures[i]; var path=texture.path; (path)&& (material[texture.name]=Loader.getRes(path)); } 会出现无法将texture赋值到材质上。网页端没有问题 版本全部都是最新 2018-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20181207
...) 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