大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...的链接 提交 2 个回复 cuixueying 赞同来自: 为其添加tem.on(Event.COMPLETE,this,onCom);事件即可! 2017-09-12 0 0 分享 微博 QZONE 微信 shimp 赞同来自: 能详细一点吗?tem是哪个对象,我需要所有的都加载完成,谢谢 我的代码是 private loadSk{ thi...
来源: Laya_社区 发布时间: 20170912
...也会收到相应的事件,无论父对象宽高是多少(可以通过event.stopPropagation()阻止事件冒泡)。 2018-04-18 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 RayFor24 相关问题 Dialog:屏蔽点击Dialog之外...
来源: Laya_社区 发布时间: 20180418
...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
... 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
...问题,其实很简单,点击方法中,会带一个参数:e:Laya.Event,这个能数有阻止点击事件冒泡 点击事件: this.btnHome.on(Laya.Event.CLICK, this, this.homeClick); private homeClick(e) { //防止点击事件穿透 e.stopPropagation(); } 2018-10-12 0 0 分享 微博...
来源: Laya_社区 发布时间: 20180901
...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
...言、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_示例 发布时间: 20260303
...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