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

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

391. 打包app,http无法设置content-type [ 50%]

...b:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'post' || ...

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

392. 怎么实现点击A页面上的一个按钮在该页面上出现一个弹窗页面B,并且A页面是作为像盖上了一层蒙板的背景? [ 50%]

...B并且A作为变朦胧的背景,如下所示 然后我点击Cancel或者Complete又返回到A页面   附件 : --> 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: ...

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

393. GlowFilter和TimeLine/Tween一起用的问题 [ 50%]

...glowFilter, {blur: 1}, 200, null, 0);         }         t.on(Event.COMPLETE, this, function(){             sp.filters = null;         });         t.play(0, true);     };   (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHe...

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

394. TiledMap加载失败的问题 [ 49%]

...EARLY_GAME_001/bin/libs/laya.tiledmap.js:178:32) at TiledMap.__proto.onJsonComplete (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.tiledmap.js:165:20) at EventHandler.__proto.runWith (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:670:60) at Loader.__proto.event (file:///E:/...

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

395. spine适配版微信开发者平台报错 [ 49%]

...sion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); }加载方式用的官方案例,本地跑是没问题的 2021-12-07 0 0 分享 微博 QZONE 微信 northTg 赞同来自: 有极个...

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

396. [分享]微信小游戏声音资源批量加载卡住,临时解决方案 [ 49%]

...调试,最终发现是MiniSound的onCanPlay没有被调用,也就没有complete事件触发,同样的error事件也没有触发,于是就卡住了,触发不了批量加载全部完成的回调。        我猜测,是微信的InnerAudioContext实例,在设置了src属性之后,并...

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

397. 龙骨删除后内存不减少 [ 49%]

...下   let templet = new Laya.Templet();         templet.on(Laya.Event.COMPLETE, this, () => {             this.skeleton = templet.buildArmature(1);                          this.pos1.addChild(this.skeleton);             this.skeleton.play("work", true);         }...

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

398. 调用动画结束on方法,报错this.zombieAnimator.on is not a function [ 49%]

...ya.Animator;//获取Animator动画组件 this.zombieAnimator.on(Laya.Event.COMPLETE, this, this.onAniComplete); this.loadUI(); })); 附件 : --> Test.rar 2019-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 b...

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

399. laya.d3.core.material.WaterPrimaryMaterial [ 49%]

...erial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodD...

来源: Laya2.0_api 发布时间: 20190513

400. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 49%]

...发射粒子。 ShurikenParticleSystemEvents Event Summary Defined By  complete完成一次循环时调度。ShurikenParticleSystem  paused暂停时调度。ShurikenParticleSystem  played开始播放时调度。ShurikenParticleSystem  stopped停止时调度。ShurikenParticleSystemProperty ...

来源: laya_api 发布时间: 20170929