大约有 1,614 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1206) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya2.0_示例(43) Laya3.0_文档(42) Laya2.0_api(13) laya_api(12)
...例子里,UI组件的事件都用new Handler,而资源加载用Handler.create() 问题状态 最新活动: 2018-01-22 11:23 浏览: 1107 关注: 3 人 panle130 • 2017-02-27 10:57 现在我不是说旋转的问题啊,是poly在这个image下,image的childs为0,而且我想通过poly的名...
来源: Laya_社区 发布时间: 20170227
.../加载拖尾 Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Handler.create(this,function(sp:Sprite3D):void{ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function():void{ //使用差速...
来源: Laya2.0_文档 发布时间: 20210715
...改变 代码: Laya.loader.load("res/Particles/Tail.part", Laya.Handler.create(this, this.OnPariticleAssetsLoaded), null, Laya.Loader.JSON); OnPariticleAssetsLoaded(setting:Laya.ParticleSetting) { let sp = new Laya.Particle2D(setting); sp.pos(200, 200); sp.emitter.start(); sp.play(); Laya.stage.ad...
来源: Laya_社区 发布时间: 20180505
... private jsonParse() { Laya.loader.load("res/atlas/resTest0.json", Handler.create(this, this.onLoaded), null, Loader.JSON); } private onLoaded() { var json : JSON = Laya.Loader.getRes("res/atlas/resTest0.json"); var jsTx = JSON.stringify(json); } 已经通过上面代码获取整个json内容,可...
来源: Laya_社区 发布时间: 20171016
...找到 Laya.loader.load Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,this.onloaded),null,Laya.Loader.ATLAS); 这一句,我想找一下Laya.loader.load的使用说明和使用例子,但是不知道怎么找。在api里我开了Laya。 http://layaair.ldc.layabox.com/api/index.htm...
来源: Laya_社区 发布时间: 20171017
...d(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init)); 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 骨骼数太大了吧 2018-03-23 0 1 分...
来源: Laya_社区 发布时间: 20180323
...son/ENDLESS_TABLE.json"; var strJson=Laya.loader.load(fileURL,Handler.create(this,readJsonFinish),null,Loader.JSON); function readJsonFinish() { console.log(strJson); var contact = JSON.parse(strJson); } } cuixueying • 2016-07-26 11:13 Laya.loader.load是预加载JSON字符串,并非是获...
来源: Laya_社区 发布时间: 20151110
...aVip打包资源,在小游戏读取zip和json后加载不了,用loader.create加载lh模型,ls场景等都会找不到,但是在LayaIDE读取又是正常的,麻烦看看什么问题,附上demo Laya使用2.8.0b1版本 这个读取问题,估计所有小游戏平台都一样,我现在...
来源: Laya_社区 发布时间: 20200920
...ole出,那个list中的数据也存在,但没渲染出。 Laya.Handler.create 回调 load方法的progress回调进的次数太少了。是我哪里设置有问题么 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个...
来源: Laya_社区 发布时间: 20170321
...时间轴动画问题 Laya.loader.load("res/atlas/move.json", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); //添加到舞台 La...
来源: Laya_社区 发布时间: 20171012