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

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

601. HttpRequest有一定几率触发error事件 Status:0 [ 49%]

... 图片添加点击事件 有的不生效 HttpRequest感觉没有发成功 event自定义事件的问题 微信小游戏与加载图片时不会触发erroe事件 问题状态 最新活动: 2018-05-15 15:52 浏览: 729 关注: 4 人

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

602. LayaAir开发笔记(1)五十音图连连看 [ 49%]

...right.bold = true; copyright.pos(20, g_stat_heiht - 35); copyright.on(Laya.Event.CLICK, this, function() { window.location.href = "http://www.coderluan.com"; }); Laya.stage.addChild(copyright); 3.设置积分板和开始菜单 右下弄了个“点击开始游戏”的文本,点击只会游戏开...

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

603. app 上使用 soundchannel.pause() 暂停音效音乐,用 resume() 播放都会从头开始播放 [ 49%]

...       let _pause:boolean = false;         btn1.on(Laya.Event.CLICK,this,()=>{             if(!_pause)return;             sound.pause();             _pause = false         })         btn2.on(Laya.Event.CLICK,this,()=>{  ...

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

604. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 49%]

...版本正常,LayaAir IDE 2.2.0beta2版本报错    Laya.stage.on(Laya.Event.CLICK, this, () => {             Laya.loader.load("HallAni/star.part", Laya.Handler.create(this, (settings) => {                 let Particle2D = Laya.Particle2D;            ...

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

605. Morn下List组件如何给每一条列表添加Click事件,是需要for吗? [ 48%]

...生flash下,如果要给List组件的每一条列表都侦听一个MouseEvent.CLICK事件,最简单的方法就是在for循环下对按钮名称进行遍历,以此来添加鼠标事件并根据按钮名称来进行区分。   那么Morn下有更简单的实现方式吗?(*^__^*) 嘻嘻……...

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

606. layaAir 打包成apk后在真机上运行 使用粒子时报错 [ 48%]

... (http://192.168.1.240:8900/bin/ ... :11690)                at e.i.event (http://192.168.1.240:8900/bin/ ... 1:9149)                at e.n._endLoad (http://192.168.1.240:8900/bin/ ... :27979)                at e (http://192.168.1.240:8900/bin/ ... :27286)              ...

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

607. 场景管理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Event.CLICK, this, () => { //点击后,打开Msg场景 Laya.Scene.open("Msg.ls", false, { "text": "点击成功!" }); }); } } 其中,Scene场景有一个Button组件,需要在IDE中,将其拖入到@property暴露...

来源: Laya3.0_文档 发布时间: 20251010

608. Cannot read property 'call' of undefined [ 48%]

...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59)    at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...

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

609. Oppo加载.ls资源错误 [ 48%]

... 07-11 16:53:45.927 30921-30972/? E/jswrapper: ERROR: Uncaught TypeError: "event.type" should be a string., location: (no filename):0:0 2019-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来...

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

610. Cannot read property 'call' of undefined [ 48%]

...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59)    at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...

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