大约有 301 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0067 秒)
...接使用this.即可使用。例如下面的代码: onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on( Laya.Event.MOUSE_DOWN, this, ()=>{ this.Image.visible = false; }); } 运行此场景来看看效果,如动图2-7所示。 (动图2-7) UI组件脚本就已...
来源: Laya3.0_文档 发布时间: 20251010
...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
...该组中当前所选的 Radio 控件。 see laya.ui.RadioGroup Hierarchy Button Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthS...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
...建一个UI页面(本例为`EffectAnimation.ui`),然后拖拽一个Button组件到场景编辑器中,如图7所示(*注意:本例中的Button组件在ui目录下*)。 (图7) **步骤二**:将制作的缩放动效模板(scale.efc)拖拽到Button组件下,如图8...
来源: Laya2.0_文档 发布时间: 20210715
...建一个UI页面(本例为`EffectAnimation.ui`),然后拖拽一个Button组件到场景编辑器中,如图7所示(*注意:本例中的Button组件在ui目录下*)。 (图7) **步骤二**:将制作的缩放动效模板(scale.efc)拖拽到Button组件下,如图8...
来源: Laya2.0_文档 发布时间: 20210715
...ods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 Ch...
来源: laya_api 发布时间: 20170929
...一个UI页面(本例为`EffectAnimation.scene`),然后拖拽一个Button组件到场景编辑器中,如图7所示,(*注意:本例中的button组件在comp目录下*)。  (图7) **步骤二**:将制作的缩放动效模板(scale.efc)拖拽到Button组件...
来源: Laya2.0_文档 发布时间: 20210715
...ods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 ...
来源: Laya2.0_api 发布时间: 20190513