大约有 698 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(682) Laya3.0_文档(6) Laya3.0_api(3) Laya2.0_文档(3) laya_api(1) Laya_示例(1) Laya2.0_示例(1) Laya2.0_api(1)
...-----------------------package { import laya.display.Text; import laya.net.Loader; import laya.utils.Handler; /** * ... * @author OttoChen */ public class TestMain { private var txt:Text = null; public function TestMain() { Laya.init(800, 800); txt = new Text(); txt.mouseEnabled = false; txt.overflo...
来源: Laya_社区 发布时间: 20180227
在加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"], Laya.Handler.create(this, function(){ }), Laya.Handler.create(this, function(e){ c...
来源: Laya_社区 发布时间: 20180101
...file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.d3.js:30804:26) at Loader._onHierarchylhLoaded (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.d3.js:30899:17) at EventHandler.runWith (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.core.js:999:38) at Loader.event (file:///D:...
来源: Laya_社区 发布时间: 20180925
...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...
来源: Laya2.0_api 发布时间: 20190513
...要代码如下 let loaditem = [{ url: "test.zip", type: Laya.Loader.PLFB }] Laya.loader.load(loaditem, Laya.Handler.create(this, function (res) { let item = 'res/layabox.png' let getres = Laya.loader.getRes(item...
来源: Laya_社区 发布时间: 20210604
...不能正常播放,也没有任何错误提示 然后尝试先调用Laya.loader.load("sfx/hit01.mp3",new Laya.Handler(this,this.onBgmComplete),null,Laya.Loader.SOUND);然后在onBgmComplete的回调里面再调用播放,就会提示 [warn]Retry to load: sfx/hit01.mp3 [error]Failed to load: sfx/h...
来源: Laya_社区 发布时间: 20180422
...型,想给它六个面贴不同的贴图,该如何处理? 请问下loader如何强制加载一个文件,避免浏览器的缓存 我刚开始使用layabox,发布了一个h5,但是手机上应该怎么打开这个网页呢 请教一个关于laya2.5d项目美术规范的问题哈 drawCurve...
来源: Laya_社区 发布时间: 20170806
...ge { import laya.display.Sprite; import laya.maths.Matrix; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class GraCmdsDemo { public function GraCmdsDemo() { //初始化舞台 Laya.init(Browser.width,Browser...
来源: Laya_社区 发布时间: 20170519
3d模型预加载后二次调用报错 使用Laya.loader.create 预加载,第一次用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 可以创建,第二次再调用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 创建就返回undefined了,help~ 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180307
...败,加载 xml, 图集等是正常的 如题所述。 使用的是 Laya.loader.load(...) 加载。 加载 .proto或者 .txt 等文件时,getRes 的结果都是一个 10282 长度的 ArrayBuffer ,用 TextDecoder 导出来是如下字符: 附件 : --> 2018-03-27 添加评论 免费帖...
来源: Laya_社区 发布时间: 20180327