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

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

41. Cannot set property text of #<Button> which has only a getter [ 86%]

Cannot set property text of #&lt;Button&gt; which has only a getter Cannot set property text of #&lt;Button&gt; which has only a getter 2020-08-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...

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

42. button的点击和悬浮特效怎么取消 [ 85%]

button的点击和悬浮特效怎么取消 button 的skins设置成图片,显示的时候不完全,悬浮时会有上浮的效果,怎么取消特效并显示完整图片 附件 : --> 2017-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

43. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 85%]

...法?IOS和Android LayaSample.ts文件如下: // 程序入口 import UIButton = laya.ui.Button; class GameMain{     constructor()     {         Laya.init(600,400);         let body = laya.utils.Browser.document.body;         let input = laya.utils.Browser.createElement(...

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

44. button组件如何设置disable不可点击状态? [ 84%]

button组件如何设置disable不可点击状态? 比如设置disable是否能更换背景图 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 如果要改变button的背景...

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

45. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 84%]

...接使用this.即可使用。例如下面的代码: onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on( Laya.Event.MOUSE_DOWN, this, ()=&gt;{ this.Image.visible = false; }); } 运行此场景来看看效果,如动图2-7所示。 (动图2-7) UI组件脚本就已...

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

46. 如何阻止 点击 继续传递 [ 84%]

如何阻止 点击 继续传递 list的item 上有一个buttonbutton首先处理click事件,然后 list处理该事件 如何阻止事件继续传递,而只让button处理,尝试过如下方法,但无效 附件 : --> 2017-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

47. Button点击函数逻辑bug [ 83%]

Button点击函数逻辑bug onMouse(e) { if (this.toggle === false &amp;&amp; this._selected) return; if (e.type === Laya.Event.CLICK) { this.toggle &amp;&amp; (this.selected = !this._selected); this._clickHandler &amp;&amp; this._clickHandler.run(); return; } !this._selected &amp;&amp; (this.state...

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

48. Button销毁时,未对_clickHandler进行回收 [ 83%]

Button销毁时,未对_clickHandler进行回收 源代码: destroy(destroyChild = true) { super.destroy(destroyChild); this._bitmap &amp;&amp; this._bitmap.destroy(); this._text &amp;&amp; this._text.destroy(destroyChild); this._bitmap = null; this._text = null; this._clickHandler = null; this....

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

49. 鼠标点击屏幕发射射线时,怎样屏蔽UI [ 82%]

...前鼠标位置获取一条射线碰撞集合,然后我又创建了一个Button,点击Button时发现射线也响应了,如何能让点击UI时不进行射线碰撞检测呢? 2019-08-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

50. laya.ui.ComboBox [ 82%]

...域底边之间的垂直距离(以像素为单位)。 UIComponent  button : Button[read-only] 获取对 ComboBox 组件所包含的 Button 组件的引用。 ComboBox cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,...

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