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

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

41. 按钮组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

按钮组件(Button)1、LayaAir IDE中使用Button组件1.1 创建Button组件1.2 Button属性1.3 脚本控制Button2、Button代码创建按钮组件(Button) 1、LayaAir IDE中使用Button组件 按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者...

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

42. 1.70beta Dialog增加动画后第二次执行popup不显示弹窗 [ 76%]

... 微信 a694284699 赞同来自: (function() { var Stage = Laya.Stage; var Button = Laya.Button; var Dialog = Laya.Dialog; var Image = Laya.Image; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var DIALOG_WIDTH = 220; var DIALOG_HEIGHT = 275; var CLOSE_BTN_WIDTH = 43; var CLOSE_BTN_PADDING = 5;...

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

43. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 75%]

...Laya.Image = new Laya.Image(this.assets[0]); this.dialog.addChild(bg); var 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_文档 发布时间: 20230303

44. laya.ui.ComboBox [ 75%]

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

来源: laya_api 发布时间: 20170929

45. 如何从代码中创建UI,progressbar [ 72%]

...raw一张图片纹理效果是一样的         如果UI的组件为button等有点击状态的组件时,更换button的skin会根据按钮的状态显示,而且该button自身具备的属性和方法与graphics,draw是不同的,包括纹理的显示。 第二个问题:        ...

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

46. laya.ui.ComboBox [ 72%]

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

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

47. 动画-旧版骨骼动画 [ 72%]

...ex); } private loadUI(): void { Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(this, function (): void { this.changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "切换动作")) as Laya.Button; this.changeActionButton.size(160...

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

48. 位图切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...nds Laya.Script { // 以下资源来自“引擎API使用示例” private buttonSkin: string = "resources/res/ui/button-7.png"; private clipSkin: string = "resources/res/ui/num0-9.png"; private bgSkin: string = "resources/res/ui/coutDown.png"; counter: any; controller: any; currFrame: any; //组件...

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

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

...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

50. 单选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...、通过代码创建Radio组件单选框组件(Radio) Radio继承自Button,它的很多属性也继承自Button,所以前面Button中介绍过的这里就不再过多讲述。Radio的详细用法可以参考Radio API。 一、通过LayaAir IDE创建Radio组件 1.1 创建Radio 使用LayaAir ...

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