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

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

1. 控件为image,在ide里面设置了mouseThrough 为 true,可我调试引擎时发现mouseThrough是false [ 100%]

控件为image,在ide里面设置了mouseThrough 为 true,可我调试引擎时发现mouseThrough是false ide 里面控件为image,在ide里面设置了mouseThrough 为 true,可我调试引擎时发现mouseThrough是false,是什么原因,麻烦告知一下。看引擎代码,目前没有...

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

2. panel.mouseThrough = true [ 99%]

UI相关问题 LayaAir引擎 panel.mouseThrough = true 什么感觉无效啊,还需要其它处理吗? 我把panel visible为false是下面的元件(iamge)可以单击,但是mouseThrough  为 true 就不行, this._imgHome.mouseThrough = true; this._sprHome.mouseThrough = true; this.pan...

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

3. 关于mouseThrough设计原理问题? [ 97%]

关于mouseThrough设计原理问题? 关于 mouseThrough 的设计原理,如果sprite对象没有设置点击事件(如 Event.CLICK),那么 sprite.mouseThrough = false;设置是没有效果的,这样设计是不是有问题?var a:Sprite = new Sprite(); a.graphics.drawRect(0,0,200, 200...

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

4. [LayaAir3]有宽高的空Sprite节点在设置mouseThrough为true之后不响应触摸事件 [ 97%]

[LayaAir3]有宽高的空Sprite节点在设置mouseThrough为true之后不响应触摸事件 版本3.1.2,看源码是mouseThrough为true之后取可点区域是graphicBouds,但是空节点的graphicBouds宽高为0;(不知道这算不算bug,但不提bug官方似乎基本不看)   后续--- ...

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

5. 设置 mouseThrough 无效,是什么原因? [ 97%]

设置 mouseThrough 无效,是什么原因? 2018-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 怎么会无效,检查项目,一定是哪里出问题了。 2018-08-07 0 4 ...

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

6. List的mouseThrough有bug,没办法穿透 [ 96%]

List的mouseThrough有bug,没办法穿透 在UI里添加一个Sprite然后添加一个List,会发现List的mouseThrough有bug,没办法穿透,点击到其他物体 2017-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

7. HTMLDivElement的mouseThrough属性无效 [ 96%]

HTMLDivElement的mouseThrough属性无效 设置HTMLDivElement的mouseThrough属性为true后依然不能点击穿透 我又看到HTMLDivElement应当是继承于Sprite类的,所以不太明白应当怎样才能实现点击穿透 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

8. mouseThrough 属性等于 true 的时候 即使不透明也被穿透 BUG! [ 96%]

mouseThrough 属性等于 true 的时候 即使不透明也被穿透 BUG! 我上传了例子 请官方尽快回复!!!!!! 附件 : --> TestMouseThrough.zip 2020-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

9. view和panel关于mouseThrough的区别 [ 96%]

view和panel关于mouseThrough的区别 像这个的面板左侧是空白的,当对"新手村"做了点击事件的监听后,如果这个组件代码继承的是Panel,那么空白位置不能穿透,如果继承的是view就能穿透,是什么情况???都是有设置 mouseThrough=true的,就...

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

10. [LayaAir3]3.3.1 List点击异常,mouseThrough属性失效 [ 95%]

[LayaAir3]3.3.1 List点击异常,mouseThrough属性失效 新版本无视了红色区域的穿透,旧版本是正常的 附件 : --> 3.3_.1_UI点击异常(场景2)_.zip 2025-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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