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

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

41. Sprite-屏幕截图 [ 90%]

... WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; this.nameArr = ["canvas截图","sprite截图","清理"]; this._canvas = null; this.aimSp = null; this.drawImage = null; this.drawSp = null; this.mo...

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

42. Laya 2.9.0 UI组件Button skin的引用次数无线增加的问题! [ 90%]

Laya 2.9.0 UI组件Button skin的引用次数无线增加的问题! 如附件图所示,新建官方2D示例, 在场景中新建一个默认的button组件(该例子使用2.9.0 ts版本, 最新的2.11.0也有问题) 操作&现象: 将鼠标反复在button上移进移出, comp.png ...

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

43. 照着官方文档写的 Dialog 报错? [ 90%]

..."res/ui/dialog.png"); dialog.addChild(bgImg); // bgImg.size(400, 458); var button = new Button("res/ui/close.png"); button.size(50, 50); button.name = Dialog.CLOSE; button.pos(bgImg.width - button.width - 5, 5); dialog.addChild(button); dialog.dragArea = "0,0," + bgImg.width + "," + bgImg.height; di...

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

44. list单个中的单条的button怎么添加点击事件 [ 90%]

list单个中的单条的button怎么添加点击事件 2018-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Life | Growing up http://layaair.ldc.layabox.com/api/index.html?category=...

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

45. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 89%]

Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,...

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

46. list 给item的对应button 添加默认事件后。初始化list时取消UI页面默认设置的事件出错 [ 89%]

list 给item的对应button 添加默认事件后。初始化list时取消UI页面默认设置的事件出错 初始化时通过index下标 取消对应的事件。除了取消了当前的index下绑定事件。还取消了index值为当前index倍数的响应事件。 附件 : --> 2018-07-19 添...

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

47. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 89%]

Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? export module ui {     export class GameSceneuiUI extends Laya.Scene {         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"typ...

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

48. 如何实现点击列表时,点击item中的按钮有事件,点击item其他位置没有事件,目前只能实现点击list里的item组件进行事件监听,没办法实现监听item中的button [ 89%]

...击list里的item组件进行事件监听,没办法实现监听item中的button   附件 : --> 2017-11-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 你可以针对item里面的组件...

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

49. laya,dialog弹出后是否能点击底下的view页面的button [ 89%]

laya,dialog弹出后是否能点击底下的view页面的button laya,dialog弹出后是否能点击底下的view页面的button?? 2018-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞...

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

50. lose skin comp/button.png 错误,全部按照UI案例来的呀 [ 89%]

lose skin comp/button.png 错误,全部按照UI案例来的呀   附件 : --> 2018-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: THEFree 使用之前加个手势滑动试试 201...

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