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

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

91. 咨询在Laya.Sprite3D中,是否含有类似于 Sprite 中的getbounds函数 [ 74%]

...的,所以不能在下一行代码立刻获取数据,推荐使用Laya.loader.create yinglei999 • 2017-11-17 19:10 1.数据都为零,需要获取的数据需要在资源加载的回调中进行 我不太明白,在Laya.MeshSprite3D.load 这个函数中只有一个参数是具体的地址 而...

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

92. Laya.load在OPPO小游戏端无法加载带有不安全字符的图片网址 [ 73%]

...能找到错误 let _url = "https://lupic.cdn.bcebos.com/2 ... 3B%3B Laya.loader.load(_url, Laya.Handler.create(this, res => { let a = new Laya.Image(_url); Laya.stage.addChild(a); })) 以下是安卓层面输出日志:09-22 11:08:10.811 27895-28111/? D/jswrapper: JS: [WARN]: [warn]Retry to loa...

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

93. Uncaught Error: Laya3D:unknown mesh version [ 73%]

...从对应版本下载的 导出ls文件后,laya里面代码加载 Laya.loader.create("LayaScene_yuanwenj2/Conventional/yuanwenj2.ls", Laya.Handler.create(this, function() {             console.log("sssssssssssss");         })); 或者使用 Laya.Scene3D.load('LayaScene_yuanwenj...

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

94. Laya.loader.create 不会反馈失败状态跟描述不符合 [ 73%]

Laya.loader.create 不会反馈失败状态跟描述不符合 var resource:Array<string> = ["scene/Conventional/scene2.ls"] Laya.loader.create(resource, Laya.Handler.create(this, (success:boolean) => { console.log("3d加载完毕:" + success); }),Laya.Handler.create(this, (progress: number...

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

95. [LayaAir3]LayaAir 3.3.0-beta.4目前出现的小概率问题反馈 [ 73%]

...出现大小写的问题.比如本地的场景为LoadingView.ls,通过Laya.loader.load加载Loadngview.ls,本地能正常打开.打包后md5版本管理匹配版本号匹配不上.(PS 没有进行测试,只是遇到了) 3,调试代码的时候出现过,代码修改后保存,然后刷新浏览器,浏...

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

96. 3d导入粒子效果报错 [ 73%]

...ite3D = Laya.Sprite3D.load("res/partical1/sceneFXMaker.lh"); 报错 Error: LoaderManager:unknown file(res/partical1/Assets/IGSoft_Tools/FXMaker/ToolResource/Texture/MapGrid.psd) extension with: psd. at LoaderManager.__proto._create (file:///C:/Users/borui/Desktop/Cube3D/bin/libs/laya.core.js:13120:1...

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

97. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 73%]

js环境下使用Loader加载图片在Sprite对象的.on函数无效 js环境下使用Loader加载图片在Sprite对象的.on函数无效 var tempnote = new Laya.Sprite(); 使用 tempnote.texture=Loader.getRes(tempjson.pic)后 tempnote.on函数不触发 使用tempnote.loadImage(tempjson.pic); 触...

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

98. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 73%]

...prite(); sp.loadImage(url); Laya.stage.addChild(sp);//添加到舞台 //用loader来加载url Laya.loader.load(url,Laya.Handler.create(this,showImg,[url]),null,Laya.Loader.IMAGE); } function errorHandler(url){ var t = new Laya.loader.getRes(url); var ape = new Laya.Sprite(); ape.graphics.drawTexture...

来源: Laya2.0_文档 发布时间: 20210715

99. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 73%]

....loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init)); 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

100. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 73%]

....core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto._endLoad (laya.core.js:14880)     at Loader.onLoaded (laya.core.js:14850)     at EventHandler.__proto.runWith (laya.core.js:1409)     at Loader.__proto.event (laya.core.js:1166)     at Loader.__p...

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