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

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

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

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

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

854. 父元素,子元素,兄弟元素 [ 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

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

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

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

858. 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_示例 发布时间: 20251218

859. Laya2.0 beta3 Animator 中的 on 事件 怎么没了 [ 69%]

...(Laya.Animator);//监听默认动画完成后播放站立动画ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]);   可是 实际上并没有啊。 没有 on 这个 函数了 .  要用什么代替啊?  2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

860. drawToTexture截大图有问题,会丢失 [ 69%]

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