大约有 1,167 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya_社区(837) Laya2.0_文档(186) Laya_示例(51) Laya2.0_示例(43) Laya3.0_api(23) Laya3.0_文档(20) Laya2.0_api(4) laya_api(3)
...ion;Laya.Tween.to(box.potOld,{ x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animation...
来源: Laya_社区 发布时间: 20180112
...per(this); var Stage = Laya.Stage; var ProgressBar = Laya.ProgressBar; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var progressBar; Laya.init(1024, 600,WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.sta...
来源: Laya_社区 发布时间: 20171230
...git上面的资源 Laya.loader.create([ "res/u3d/grid/plane.lh", ], Laya.Handler.create(this, this.onPlaneComplete)); 附件 : --> 2019-05-15 添加评论 已悬赏15元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 sand 赞同来...
来源: Laya_社区 发布时间: 20190515
...觉没有发成功 为什么官网例子里,UI组件的事件都用new Handler,而资源加载用Handler.create() 预加载图集成功了 ,但是渲染的时候找不图片资源。高手帮帮忙 希望Laya3D的入门提供一个unity的项目例子 用https://layaair.ldc.layabox.com/demo/?2...
来源: Laya_社区 发布时间: 20171130
...何获得场景内的元素 var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下载? 3d项目-unity添加物理组件 layanative2 打包android平...
来源: Laya_社区 发布时间: 20171031
...预加载,创建为Sprite3D类型 Laya.loader.create("res/room.lh",Laya.Handler.create(this,this.onCreateComplete)); //预加载完成后回调 private onCreateComplete():void{ //实例化加载并创建好的3D对象 var sprite3D:Laya.Sprite3D = Laya.loader.getRes("res/room.lh"); this.scene.addCh...
来源: Laya_社区 发布时间: 20170809
...package { import laya.ui.ColorPicker; import laya.utils.Handler; public class ColorPicker_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya...
来源: Laya_社区 发布时间: 20171120
...aya.loader.load(["res/background.png", "res/m_background.png"], laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("...
来源: Laya_社区 发布时间: 20160722
...击的某个物体 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 加载图片回调参数问题 问题状态 最新活动: 2017-10-24 16:10 浏览: 779 关注: 2 人
来源: Laya_社区 发布时间: 20171024
..."./LayaScene_111/Conventional/smoke.lh"]; Laya.loader.create(res3D, Laya.Handler.create(this, this.createBuild));这句子去获取资源,然后用 Laya.Loader.getRes("./Prefab/Conventional/NewBuilds.lh");方法去读取相应的文件,可是发现资源加载还是很慢,好久才进入到c...
来源: Laya_社区 发布时间: 20190702