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

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

1. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 100%]

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

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

2. 按钮组件 · LayaAir3.0文档 · LAYABOX [ 98%]

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

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

3. 多选框组件 · LayaAir3.0文档 · LAYABOX [ 81%]

...heckBox多选框组件(CheckBox) CheckBox是多选框组件,继承自Button。它由两部分组成,选择状态框及内容说明标签。其中选择状态框是图片资源,内容说明标签为文本。CheckBox组件的属性接口介绍请参考CheckBox API。 一、通过LayaAir IDE...

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

4. 预制体模块 · LayaAir3.0文档 · LAYABOX [ 78%]

...点修改了width属性(属性设置面板有黄色线提示) 添加了Button组件(有“+”号标识) 这些修改也可以覆盖到预制体中,我们来看看如何操作。如图3-4所示 (图3-4) 点击item节点,在右边的属性面板中,点击 覆盖属性 按钮,可...

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

5. 位图切片组件 · LayaAir3.0文档 · LAYABOX [ 75%]

...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_文档 发布时间: 20230830

6. UI组件详解 · LayaAir3.0文档 · LAYABOX [ 73%]

...资源文件名前缀 资源文件名前缀缩写 Image 图像 image_ img_ Button 按钮 button_ btn_ ComboBox 下拉框 comboBox_ combo_ TextInput 文本输入 textInput_ input_ TextArea 文本域 textArea_ area_ CheckBox 多选框 checkBox_ check_ Label 显示文本 label_ 无缩写 RadioGroup 单...

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

7. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 66%]

...Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?: boolean): gui.Button; createCheckbox(autoSize?: boolean): gui.Button; createIconCheckbox(flat?: boolean): gui.Button; createRadio(): gui.Button; createComboBox()...

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

8. 层级面板说明 · LayaAir3.0文档 · LAYABOX [ 62%]

...SoundNode、VideoNode); UI组件(Box、HBox、VBox、Image、Clip、Button、CheckBox、Radio、RadioGroup、ComboBox、Label、TextInput、TextArea、FontClip、ProgressBar、HSilder、VSlider、List、Panel、Tree、Tab、ViewStack、HScrollBar、VScrollBar、ColorPicker、View、Dialog、Op...

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

9. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 58%]

... ) //拿到 Label 组件 private label: Laya.Label; @property( { type:Laya.Button } ) //拿到 Button 组件 private button: Laya.Button; @property( { type:Laya.Sprite } ) //拿到 Sprite 组件 private sprite: Laya.Sprite; @property( { type:Laya.Animation } ) //拿到 Animation 组件 private anmat...

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

10. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 57%]

... ) //拿到 Label 组件 private label: Laya.Label; @property( { type:Laya.Button } ) //拿到 Button 组件 private button: Laya.Button; @property( { type:Laya.Sprite } ) //拿到 Sprite 组件 private sprite: Laya.Sprite; @property( { type:Laya.Animation } ) //拿到 Animation 组件 private anmat...

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