• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)

851. 关于.sk文件加载问题 [ 69%]

...的链接 提交 2 个回复 cuixueying 赞同来自: 为其添加tem.on(Event.COMPLETE,this,onCom);事件即可! 2017-09-12 0 0 分享 微博 QZONE 微信 shimp 赞同来自: 能详细一点吗?tem是哪个对象,我需要所有的都加载完成,谢谢 我的代码是 private  loadSk{ thi...

来源: Laya_社区 发布时间: 20170912

852. 怎么让Laya.stage不接受穿透而来的事件?给Laya.stage监听了MOUSE_UP事件,当点击舞台上按钮的时候,不仅会触发按钮的事件,同时也触发了Laya.stage的MOUSE_UP事件。 [ 69%]

...也会收到相应的事件,无论父对象宽高是多少(可以通过event.stopPropagation()阻止事件冒泡)。 2018-04-18 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 RayFor24 相关问题 Dialog:屏蔽点击Dialog之外...

来源: Laya_社区 发布时间: 20180418

853. unity 导出文件导入LAYA加载报错 [ 69%]

...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

854. ui list 里面的元素不能点击两次 [ 69%]

... 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

855. unity导出粒子特效laya加载报错。 [ 69%]

...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

856. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 69%]

... 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

857. 父元素,子元素,兄弟元素 [ 69%]

...问题,其实很简单,点击方法中,会带一个参数:e:Laya.Event,这个能数有阻止点击事件冒泡 点击事件: this.btnHome.on(Laya.Event.CLICK, this, this.homeClick);   private homeClick(e) { //防止点击事件穿透 e.stopPropagation(); } 2018-10-12 0 0 分享 微博...

来源: Laya_社区 发布时间: 20180901

858. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 69%]

...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

859. 2D物理-碰撞事件与传感器 [ 69%]

...言、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

860. SpineSkeleton3.8.loadAni如果加载失败一定会引发LAYA底层报错 [ 69%]

...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