大约有 2,782 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0062 秒)
Laya_社区(2462) Laya2.0_文档(107) Laya3.0_文档(59) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
...不能在native环境下手动载入若干脚本并执行。 ``` Laya.loader.load("http://118.17.23.1:9877/xxx.js", Handler.create(this, onLoad));//as3 ``` 2017-10-25 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20171025
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load([bgPath, maskPath], Laya.Handler.create(this, this.setup)); } setup() { const Sprite = Laya.Sprite; let bgRes = Laya.loader.getRes(bgPath), maskRes = Laya.loader.getRes(maskPath); let bg = new Sprite(); Laya.stage...
来源: Laya2.0_示例 发布时间: 20251218
...esInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:65353/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:...
来源: Laya_社区 发布时间: 20180228
资源加载问题 无限资源加载问题 Uncaught Error: LoaderManager:unknown file(res/scene/scene.ls) extension with: ls. at LoaderManager.__proto._create (laya.core.js:13205) at LoaderManager.__proto.create (laya.core.js:13173) at LayaGame.<anonymous> (LayaGame.ts:60...
来源: Laya_社区 发布时间: 20190129
...: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: Laya.loader.load方法加载文件时,如果网络中断,在尝试加载失败后会触发Laya.loader.on("error",this,onLoader); function onLoaded(){ } 不知道你是怎么写的,我们自己做项目都是这样做的...
来源: Laya_社区 发布时间: 20180402
... fbxtools插件版本1.7.16beta 导出的文件夹放到bin目录, 用Laya.loader.create读取.lh文件报错, laya.d3.js:15158 Uncaught TypeError: Cannot read property 'props' of undefinedat Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (...
来源: Laya_社区 发布时间: 20181013
...ont1Req = new Promise((resolve => { Laya.loader.load("res/fonts/OPPOSANS-R.TTF", Laya.Handler.create(this, (success: boolean) => { if (!success) { console.error("OPPOSANS-R ttf 字...
来源: Laya_社区 发布时间: 20201104
...("res/room.lh"); //方法二:预加载,创建为Sprite3D类型 Laya.loader.create("res/room.lh",Laya.Handler.create(this,this.onCreateComplete)); //预加载完成后回调 private onCreateComplete():void{ //实例化加载并创建好的3D对象 var sprite3D:Laya.Sprite3D = Laya.loader.getRe...
来源: Laya_社区 发布时间: 20170809
...小 var assets:Array = ; assets.push({url:"map/157.jpg", type:Loader.IMAGE}); Laya.loader.load(assets, Handler.create(this, loadMapBGComplete)); function loadMapBGComplete():void{ var tx:Texture = Laya.loader.getRes("map/157.jpg"); this._test....
来源: Laya_社区 发布时间: 20170411
...._loadAnimationData方法内释放.ani文件的调用位置不对 如图,Loader.clearRes(url)在没加载完.ani就调用了,应该在Laya.loader.load的的完成回调内调用 附件 : --> 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20181219