大约有 914 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya_社区(692) Laya2.0_文档(89) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(25) Laya3.0_api(19) laya_api(1) Laya2.0_api(1)
...A域名图片获取失败,导致图片不显示,什么原因 Laya.loader.load 方式预加载 附件 : --> 2017-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 方便给个例...
来源: Laya_社区 发布时间: 20170912
...2020-04-09 15:19 浏览: 754 关注: 3 人 colby • 2019-07-31 22:07 Laya.loader.load("LayaScene_6/Conventional/Assets/New Folder/qiu2_NegativeX.png", Laya.Handler.create(null, (tex) => { var _textureCube = new Laya.TextureCube(); var img:Laya.Image = new Laya.Image(); img.texture=tex;...
来源: Laya_社区 发布时间: 20190731
...上 调用 Laya.MiniAdpter.downLoadFile缓存文件之后。再调用Laya.loader.create,不会自动去读取缓存文件 zip更新模式缓存是怎么读取的?? layabox里面怎么读取解压zip压缩包? 资源读取有没有快捷一点的方式,现在的load要手打url,能不能像...
来源: Laya_社区 发布时间: 20171212
...pleteHandler:Handler):void { this._completeHandler = completeHandler; Laya.loader.load('test.txt',Handler.create(this, onloaded)); } private function onloaded():void { trace('B',_completeHandler.method == null,_completeHandler['_id']) _completeHandler.run(); } } } 附件 : --> testlaya.rar 2017-03-3...
来源: Laya_社区 发布时间: 20170330
...orState为Animator添加多个播放状态islooping属性会被覆盖 Laya.loader.create 不会反馈失败状态跟描述不符合 问题状态 最新活动: 2019-10-12 10:39 浏览: 737 关注: 1 人
来源: Laya_社区 发布时间: 20191012
...ad 再play let dreamsSound:Laya.SoundChannel = null Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){ dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3") })) let mainSound:Laya.SoundChannel = nul...
来源: Laya_社区 发布时间: 20190716
...板,urls接收的是图片地址集合,所以我们需要先使用Laya.loader.load()将图集文件先加载进来。下面我们直接看示例代码及注释。 ```typescript // 程序入口 class AtlasAniDemo{ private roleAni:Laya.Animation; constructor() { //初始化舞台 Laya.init(1334,75...
来源: Laya2.0_文档 发布时间: 20210715
...相关的链接 提交 1 个回复 hj 赞同来自: 加载3D场景用Laya.loader.create 2018-09-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 兜里有糖。 相关问题 2.0一不小心删了bin目录下的某个场景json文件。...
来源: Laya_社区 发布时间: 20180918
...Array = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE }, {...
来源: Laya_社区 发布时间: 20180613
...5:59 @155*****924:需要些时间的 155*****924 • 2019-05-16 15:16 Laya.loader.create("model/role/1/model.lh", Laya.Handler.create(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(...
来源: Laya_社区 发布时间: 20190516