大约有 2,539 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0087 秒)
Laya_社区(1916) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...nAsynLoaded (laya.d3.js:23826) at ResInfo.onLoaded (laya.core.js:11401) at EventHandler.__proto.runWith (laya.core.js:672) at ResInfo.__proto.event (laya.core.js:449) at LoaderManager.__proto._endLoad (laya.core.js:11511) at Loader.onLoaded (laya.core.js:11490) at EventHandler.__proto.runWith (laya....
来源: Laya_社区 发布时间: 20170328
... list.mouseHandler=new Handler(this,onMouse); private function onMouse(e:Event,index:Number):void { // TODO Auto Generated method stub if(e.type==Event.CLICK) { trace("click"); } } 2016-12-02 3 2 分享 微博 QZONE 微信 sunkehappy 赞同来自: @cuixueying 感谢提供方案,不过我还是想...
来源: Laya_社区 发布时间: 20161202
...17) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:1934) at EventHandler.__proto.runWith (laya.core.js:2062) at Loader.__proto.event (laya.core.js:1818) at Loader.__proto.complete (laya.core.js:23571) at Loader.__proto.onLoaded (laya.core.js:23519) at EventHand...
来源: Laya_社区 发布时间: 20190803
...问题,其实很简单,点击方法中,会带一个参数:e:Laya.Event,这个能数有阻止点击事件冒泡 点击事件: this.btnHome.on(Laya.Event.CLICK, this, this.homeClick); private homeClick(e) { //防止点击事件穿透 e.stopPropagation(); } 2018-10-12 0 0 分享 微博...
来源: Laya_社区 发布时间: 20180901
... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.ske...
来源: Laya2.0_文档 发布时间: 20210715
...ry _setCreateURL _setGPUMemory addDefine cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...f (this.assetManager.hasErrors()) { this.event(Laya.Event.ERROR, "load failed:" + this.assetManager.getErrors()); return; } Laya.Laya.timer.frameOnce(1, this, this.loop); ...
来源: Laya_社区 发布时间: 20220317
...言、LayaAirIDE让项目开发更高效。class Physics_Physics_CollisionEvent { constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya....
来源: Laya2.0_示例 发布时间: 20251218
...(Laya.Animator);//监听默认动画完成后播放站立动画ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]); 可是 实际上并没有啊。 没有 on 这个 函数了 . 要用什么代替啊? 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20181025
...e; Laya.stage.addChild(this.nsp); this.nsp.on(Laya.Event.CLICK,this,this.drawImg,null) } drawImg(e:Event=null):void{ var copySpr:Laya.Sprite=new Laya.Sprite(); copySpr.texture=this.nsp.drawToTexture(1600,1600,0,0) as Laya.Texture; ...
来源: Laya_社区 发布时间: 20220809