大约有 770 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya_社区(694) Laya_示例(20) Laya2.0_api(13) Laya3.0_文档(12) laya_api(11) Laya3.0_api(10) Laya2.0_示例(7) Laya2.0_文档(3)
... this.addChild(bg2); bg2.on(laya.events.Event.MOUSE_DOWN,this,test); } ================== public static function createSprite(url:String,c:Boolean = false):Sprite { var sp:Sprite = new Sprite(); sp.loadImage(url); ...
来源: Laya_社区 发布时间: 20161223
....create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.Handler.create(this, this.Onloaded), null, Laya.Loader.TEXT,0,true,null,true); //console.log(Laya.Loader.loadedMap); } 另外就是加载的时候,不缓存资源,就不能读取...
来源: Laya_社区 发布时间: 20171227
...获取不正确 分享:LayaAir下如何获取图集下的小图资源? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 如何获取图片每个像素点的RGB? 怎样获取浏览器地址传过来的GET参数 怎么获取对象的坐标 LayaAir使用AS语言能直接挂断点...
来源: Laya_社区 发布时间: 20190523
...earReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener hermiteCurveSplineWeight isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Object literals tween Constructors constructor new AnimationClip2D(): AnimationClip2D Ov...
来源: Laya3.0_api 发布时间: 20231115
...c initTemplet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figur...
来源: Laya_社区 发布时间: 20190821
...eying • 2017-01-18 12:21 再图片加载完成后,可以先侦听一个Event.LOADED事件,再回调里去获取getBounds值 qq502416708 • 2017-01-18 15:32 能写几句示例吗?图片是网络传过来的用户头像 cuixueying • 2017-01-19 15:38 就是获取你图片所在容器的getBo...
来源: Laya_社区 发布时间: 20170118
...o.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at EventHandler.__proto.runWith (laya.core.js:1399) at ResInfo.__proto.event (laya.core.js:1156) at LoaderManager.__proto._endLoad (laya.core.js:14773) at Loader.onLoaded (laya.core.js:14743) at EventHandler.__proto.runWith (lay...
来源: Laya_社区 发布时间: 20181208
...for遍历下对sp进行CLICK的监听即可,sp.size(xxx,xxx);sp.on(Event.CLICK,this,onSpClick) 3、点击sp时,直接获取sp.index值即可(e.target.index)! 2017-02-21 1 0 分享 微博 QZONE 微信 lift6220819 赞同来自: q395212409 Laya.init(640,1010); Laya.stage.scaleMode = Laya....
来源: Laya_社区 发布时间: 20170221
...asses | Index | Frames No Frames TrailSprite3DProperties | Methods | Events Packagelaya.d3.core.trailClasspublic class TrailSprite3DInheritanceTrailSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TrailSprite3D 类用于创建拖尾渲染精灵。 Public Properties Hide Inheri...
来源: Laya2.0_api 发布时间: 20190513
...this.size(Item.WID, Item.HEI); this.initBuild(); this.skin_btn_use.on(Laya.Event.CLICK,this,this.onSkinBtnUseClick) } private onSkinBtnUseClick(){ console.log("使用"); } //btn 有宽高 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180828