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

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

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

852. ts项目发布的时候报错 [ 69%]

...时,构建的时候报错。 点击发布,构建,然后出现报错 events.js:160 throw er; // Unhandled 'error' event ^ Error: spawn tsc ENOENT at exports._errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_p...

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

853. 微信小游戏iOS滑出控制中心或通知中心,导致音乐自动停止。 [ 69%]

...提交 1 个回复 bpmf_d 赞同来自: // 失去焦点 Laya.stage.on(Laya.Event.BLUR,this,function(){}); // 获得焦点 Laya.stage.on(Laya.Event.FOCUS,this,function(){}); 可以试试这两个方法如果不行  就请提供一下可以复现的demo 2019-05-09 0 0 分享 微博 QZONE 微信 为...

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

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

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

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

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

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

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

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