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

大约有 1,210 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)

221. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 84%]

...相关的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.url, this.c...

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

222. 骨骼动画进阶(ActionScript-2D进阶篇(AS3)-动画进阶) [ 84%]

...{ import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; import laya.webgl.WebGL; /** * ... * @author ww */ public class SkeletonTempletSample { public var templet:Templet; public function SkeletonTempletSample() { WebGL.enable(); Laya.init(1000, 900); //创建动画...

来源: Laya2.0_文档 发布时间: 20210715

223. Event.CLOSE不触发 [ 84%]

Event.CLOSE不触发 弹出框类型的界面类构造里写了  this.once(Event.CLOSE,this,onClose);    为什么  页面关闭后onClose方法并没有被调用       我用的最新版引擎    2017-08-04 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

224. 最新版本 1.7.5 beta fontClip [ 84%]

...                 }             }             event(Event.CHANGE);         } 2017-06-01 0 0 分享 微博 QZONE 微信 a13121527420 - 哇啦哇啦哇啦! 赞同来自: 其实最完美的就是可以布局,然后还可以在前后加描述问题, 例如: 123...

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

225. 灯光-聚光 [ 84%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 115, 150); }); var _quaternion = new Laya.Quaterni...

来源: Laya_示例 发布时间: 20241002

226. 微信飞机大战报错 [ 84%]

...\node_modules\vscode-debugadapter\lib\protocol.js:24:60)     at emitOne (events.js:96:13)     at Socket.emit (events.js:188:7)     at readableAddChunk (_stream_readable.js:[...]   GameInfo.js代码: var GameInfo = (function(_super){     function GameInfo(){         GameInfo.super(this);...

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

227. 循环添加一组按钮事件无法正常使用 [ 84%]

...          Laya.stage.addChild(b);                 b.on(Event.MOUSE_DOWN, this, mouseHandler);                 b.on(Event.MOUSE_MOVE, this, mouseHandler);                 b.on(Event.MOUSE_UP, this, mouseHandler);                 trace("addEvent")...

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

228. 循环监听按钮,如何进行传参和接受参数 [ 84%]

...' + i) as Laya.Image;               console.log(e); e.on(Laya.Event.CLICK, this, this.onBtnClick); }   按钮事件 private onBtnClick(event:Laya.Event): void {         let b = event.currentTarget as Laya.Image; console.log('onClickLevel > ' + b.skin); this.removeSelf(); Lay...

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

229. JS中关于按钮注册监听后在处理函数访问不到类成员变量的问题 [ 84%]

...在处理函数访问不到类成员变量的问题 this.btnLogin.on(Laya.Event.CLICK, null, this.OnLoginClick); LoginView.prototype.OnLoginClick= function() { this.dlg.setContent("暂时无法登录"); }; 解决方法式在第一行代码第二个参数一定要传this(被某老师坑惨) 如这样...

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

230. 只播放一次获取回调需要Event.STOPPED [ 84%]

只播放一次获取回调需要Event.STOPPED 只播放一次获取回调需要Event.STOPPED 请问这个应该怎么写?能写全一下吗? 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Apple ...

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