大约有 181 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
Laya_社区(158) Laya2.0_文档(9) Laya3.0_文档(5) Laya_示例(2) Laya2.0_api(2) Laya2.0_示例(2) laya_api(2) Laya3.0_api(1)
...yte layaAir端加载了img.byte文件后如何还原为图片?flash端的loader有个loadBytes方法可以加载字节数组,但是layaAir端没有相关方法实现 2017-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170417
...esInfo.__proto.event (http://127.0.0.1:59022/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:59022/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:59022/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:59022/game/code.js:...
来源: Laya_社区 发布时间: 20180317
...TestA这个类还有没有被定义,因为装载类的地方在在Laya.loader.load之后。 目前要想正确运行只有把199的代码删除,并添加到Laya.loader.load完成事件之后 有没有什么方式可以让编译器不插入 199行的描述代码,交给用户自己去手...
来源: Laya_社区 发布时间: 20170703
...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
...加 每张图片都是256*256大小的地图块 this.isShow = true; Laya.loader.load(name,Laya.Handler.create(this,this.drawImg)); } drawImg():void { var texture:Laya.Texture = Laya.loader.getRes(this.name); this.texture = texture; } clearImage(): void{ if (this.name != "") { this.isShow = false...
来源: Laya_社区 发布时间: 20190315
...调试时能否不清除已经下载的缓存? 在游戏中,我用Laya.loader.load("xxx")从网络上下载了资源,但是每次重启layaair调试时候,我用Laya.loader.getRes("xxx")却显示未定义。请问该怎么处理呢?? 2018-11-30 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20181130
...) at ResInfo.__proto.event (http://127.0.0.1:62629/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:62629/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:62629/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:62629/game/code.js:711:59) at L...
来源: Laya_社区 发布时间: 20180323
... 代码: var ress=[{url:"res/atlas/games/cxmj/shaizi.json",type:Laya.Loader.ATLAS}]; Laya.loader.load(ress); var Animation = Laya.Animation; var dice=new Animation(); ...
来源: Laya_社区 发布时间: 20170105
...的,所以不能在下一行代码立刻获取数据,推荐使用Laya.loader.create yinglei999 • 2017-11-17 19:10 1.数据都为零,需要获取的数据需要在资源加载的回调中进行 我不太明白,在Laya.MeshSprite3D.load 这个函数中只有一个参数是具体的地址 而...
来源: Laya_社区 发布时间: 20171117
...能找到错误 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