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

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

211. [LayaAir3]Laya.Slider 的结束拖拽的事件监听 怎么写, [ 89%]

[LayaAir3]Laya.Slider 的结束拖拽的事件监听 怎么写, Laya.Event.MOUSE_UP)不好使,Laya.Event.MOUSE_UP只有在滑动块上原地点击抬起就会执行,当我拖动滑动块松开鼠标后,就不会触发 2025-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

212. Ignored attempt to cancel a touchmove event with cancelable=false [ 89%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (...

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

213. loader.create加载.lh文件,如果文件不存在,也不会受到Event.Error事件 [ 89%]

loader.create加载.lh文件,如果文件不存在,也不会受到Event.Error事件 如题 2017-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 demibug 赞同来自: 按照例子里面: // 侦听加载...

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

214. 鼠标交互-拖动 [ 89%]

...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Rectangle = Laya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2.png"; var ape, dragRegion; (...

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

215. 骨骼动画播放完后的回调时间 [ 89%]

... 骨骼动画循环播放中,每个动作播放结束后 是触发哪个EVENT类型 进行回调? 2016-10-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 leeq3000 赞同来自: howartin 、fighter12345 监...

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

216. 关于安卓APK打包问题 报错 [ 89%]

... 2017-03-01 0 0 分享 微博 QZONE 微信 huangweixuan 赞同来自:  $.Event = function(type, props) {     if (!isString(type)) props = type, type = props.type     var event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true     if (props) for (var name in props) (name ...

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

217. socket.sent [ 89%]

...接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private...

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

218. 两个问题都关于LayaAir的ios真机 [ 89%]

...有个变暗的效果 statenum是1的按钮, /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onMouse(e:Event):void { if (toggle === false &...

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

219. Ignored attempt to cancel a touchmove event with cancelable=false [ 89%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在源码里面加上判断后,     (e.cancela...

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

220. 鼠标交互-拖动 [ 89%]

...eApe(); this.showDragRegion(); } createApe() { const Sprite = Laya.Sprite, Event = Laya.Event; this.ape = new Sprite(); this.ape.loadImage(ApePath); Laya.stage.addChild(this.ape); let texture = Laya.loader.getRes(ApePath); this.ape.pivot(texture.width / 2, texture.height / 2); this.ape.x = Laya.stag...

来源: Laya2.0_示例 发布时间: 20251209