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

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

81. 水平布局容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 85%]

...可以通过鼠标左键长按滑动来输入数值。假设HBox有三个Button组件子对象,调节space属性的效果如动图1-3所示。 (动图1-3) HBox的子节点无论在IDE中怎样排列,在设置了align属性后都会变成相对应的垂直排序,如动图1-4所示。 (动...

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

82. ide编辑器中button的skin设置问题。 [ 85%]

ide编辑器中button的skin设置问题。 我在ide编辑器设置button的skin后,执行时报无法找到skin,我以为是需要预加载,所以也预加载了,结果还是报没有找到图片,但是实际目录下是有这些文件的,请问下是怎么回事? 附件 : --> 2017-...

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

83. Button背景图片制作 [ 85%]

Button背景图片制作 这种三态图片是怎么做出来的,是你们提供的工具?还是自己在PS里面做的? 有没有什么技巧? 附件 : --> 2018-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

84. laya.ui.Button [ 85%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态...

来源: laya_api 发布时间: 20170929

85. 纹理复制的问题 [ 85%]

纹理复制的问题 一个使用 Laya IDE 做的具体某皮肤的Button,我想在点击该Button时,拷贝一份该Button的纹理给一个新的Button或Sprite等对象,以实现图标复制的效果。但使用 sprite.graphics.drawTexture(btn.source ...   ) 的方式没成功,请指...

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

86. 高级应用-渲染纹理 [ 84%]

...= new Laya.Vector3(0, 0.5, -1); Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { var changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "渲染目标")); changeActionButton.size(160, 40); changeActionButton.l...

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

87. UI3D只有第一层可以检测到点击事件 [ 84%]

UI3D只有第一层可以检测到点击事件 1. 我建了两个Button,在预制体中都可以触发点击事件,但在UI3D中,虽然设置了Enable Hit为true,但只能触发根节点的Button的点击事件 2. BillBoard为true的时候无法设置Sprite3D的scale 附件 : --> LayaProjec...

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

88. laya.ui.Button [ 84%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多...

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

89. 弹窗视图组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 84%]

...Laya.Image = new Laya.Image(this.assets[0]); this.dialog.addChild(bg); let button: Laya.Button = new Laya.Button(this.assets[1]); button.name = Laya.Dialog.CLOSE; button.pos(this.DIALOG_WIDTH - this.CLOSE_BTN_WIDTH - this.CLOSE_BTN_PADDING, this.CLOSE_BTN_PADDING); this.dialog.addChild(button); this...

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

90. 如何给Tab里的button设置点击事件? [ 84%]

如何给Tab里的button设置点击事件? 2017-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: Y_Yao 直接为你的tab添加selectHandler或者mouseHandler即可! 2017-05-16 1...

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