大约有 1,273 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0067 秒)
Laya_社区(723) Laya2.0_文档(155) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(24)
...发 let bitmapFont = new Laya.BitmapFont(); bitmapFont.loadFont(url, Laya.Handler.create(this, this.loadFNTComplete, [url, bitmapFont])); 2.1.0之前的版本这样运行正常,升级到2.1.0beta版本后 loadFNTComplete未触发 2019-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20190515
...ckage { import laya.ui.Radio; import laya.ui.RadioGroup; import laya.utils.Handler; public class RadioGroup_Example { public function RadioGroup_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/u...
来源: Laya3.0_api 发布时间: 20231115
....Vector3(1, -1, 0)); Laya.Sprite3D.load("h5/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(this,this.ok)); } ok(sp:Laya.Sprite3D):void{ //得到原始Sprite3D this.sp = sp; this.scene3d.addChild(sp); //克隆Sprite3D this.sp2 = Laya.Sprite3D.instantiate(this.sp,null,false); //错开点位置 this.sp2...
来源: Laya_社区 发布时间: 20190618
...,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```typescript //创建一个Animation实例 var tl:Laya.Animation = new Laya.Animation(); //加载动画文件 tl.loadAnimation("Ti...
来源: Laya2.0_文档 发布时间: 20210715
...s.addChild 没有蒙板遮罩,Dialog里的List组件 this.list_Btn.renderHandler = new Laya.Handler(this, this.onRender); this.onRender 函数 也未执行 2018-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20180825
...Stage; import laya.events.Event; import laya.net.Loader; import laya.utils.Handler; import laya.utils.Stat; public class BlinnPhong_ReflectMap { private var rotation:Vector3 = new Vector3(0, 0.01, 0); public function BlinnPhong_ReflectMap() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCA...
来源: Laya_示例 发布时间: 20241001
...这样的方法?或求3D抛物线移动的方法或算法。 源代码中Handler中的setTo()方法 Laya的应用内支付方法调用 Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 关于动画ani文件,编辑ani文件需不需要使用loadanimation方法...
来源: Laya_社区 发布时间: 20180419
...s: ani 这是我哪里用的不对吗? Laya.loader.load("res/1.json", Handler.create(this, createAnimation), null, Loader.ATLAS); public function createAnimation():void { var appendHtml:HTMLDivElement=new HTMLDivElement(); appendHtml.inn...
来源: Laya_社区 发布时间: 20180309
...建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], H...
来源: Laya3.0_api 发布时间: 20231115
...置播放一次后消失? Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-17 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20180117