大约有 9 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...可以通过鼠标左键长按滑动来输入数值。假设VBox有三个Button组件子对象,调节space属性的效果如动图1-3所示。 (动图1-3) VBox的子节点无论在IDE中怎样排列,在设置了align属性后都会变成相对应的水平排序,如动图1-4所示。 (动...
来源: Laya3.0_文档 发布时间: 20251010
...可以通过鼠标左键长按滑动来输入数值。假设HBox有三个Button组件子对象,调节space属性的效果如动图1-3所示。 (动图1-3) HBox的子节点无论在IDE中怎样排列,在设置了align属性后都会变成相对应的垂直排序,如动图1-4所示。 (动...
来源: Laya3.0_文档 发布时间: 20251010
...lass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Event.CLICK, th...
来源: Laya3.0_文档 发布时间: 20251010
...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_文档 发布时间: 20251010
按钮(GButton)按钮(GButton) Author: 谷主 Title 标题。必须先设置好Title Widget。 Selected Title 选中状态时的标题,对单选或多选按钮有意义。 Icon 图标。必须先设置好Icon Widget。 Selected Icon 选中状态时的图标,对单选或多选按钮有...
来源: Laya3.0_文档 发布时间: 20251010
...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_文档 发布时间: 20251011
...点修改了width属性(属性设置面板有黄色线提示) 添加了Button组件(有“+”号标识) 这些修改也可以覆盖到预制体中,我们来看看如何操作。如图3-4所示 (图3-4) 点击item节点,在右边的属性面板中,点击 覆盖属性 按钮,可...
来源: Laya3.0_文档 发布时间: 20241014
...点修改了width属性(属性设置面板有黄色线提示) 添加了Button组件(有“+”号标识) 这些修改也可以覆盖到预制体中,我们来看看如何操作。如图3-4所示 (图3-4) 点击item节点,在右边的属性面板中,点击 覆盖属性 按钮,可...
来源: Laya3.0_文档 发布时间: 20251105
...lass() export class NewScript extends Laya.Script { @property({ type: Laya.Button, caption: "切换按钮" }) public btn: Laya.Button; spine: Laya.Spine2DRenderNode; //外部皮肤 weaponSkin: Laya.ExternalSkin = new Laya.ExternalSkin(); //外部皮肤列表项 weaponSkinItem: Laya.ExternalSkinItem ...
来源: Laya3.0_文档 发布时间: 20251128