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

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

81. laya.map.GridSprite [ 66%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: laya_api 发布时间: 20170929

82. laya.ui.Box [ 66%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: laya_api 发布时间: 20170929

83. sprite点击事件 位置便宜 [ 66%]

...useHandler); rect.on(Event.MOUSE_WHEEL, this, mouseHandler); } /** * 鼠标响应事件处理 */ function mouseHandler(e) { switch (e.type) { case Event.MOUSE_DOWN: appendText("\n————————\n左键按下"); break; case Event.MOUSE_UP: appendText("\n左键抬起"); break; case Event.CLI...

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

84. Script的onDisable会被触发 [ 66%]

...和定时器会自动清理了, 但是用户定义的onDisable永远响应了. 修复方法: Node的_inActiveScripts里调用Script的_onDisable,  Script的_onDisable里调用Script的onDisable. 附件 : --> 2021-04-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

85. laya.particle.Particle2D [ 66%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

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

86. 关于地图移动问题 [ 65%]

...可以通过查找资料自己解决下。 如果只是为了监听鼠标响应时间,你可以给stage添加一个click事件,记录当前坐标,通过计算得到当前点击的是第几个方格,进行相应的逻辑操作 15151214277 • 2016-07-26 19:17 @cuixueying:好的谢谢

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

87. laya.utils.PerfHUD [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

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

88. laya.html.dom.HTMLDivElement [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

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

89. laya.ui.TipManager [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: laya_api 发布时间: 20170929

90. laya.ui.ScaleBox [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

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