大约有 517 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(424) Laya2.0_文档(22) Laya3.0_文档(16) Laya3.0_api(16) Laya2.0_api(13) laya_api(13) Laya_示例(9) Laya2.0_示例(4)
...、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。let buttonSkin = "res/ui/button-7.png", clipSkin = "res/ui/num0-9.png", bgSkin = "res/ui/coutDown.png", currFrame; class UI_Clip { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya....
来源: Laya2.0_示例 发布时间: 20251209
用button自定义tab组件,有没有纯代码实现的,不想用UI 用button自定义tab组件,有没有纯代码实现的,不想用UI 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞...
来源: Laya_社区 发布时间: 20170626
Button位移过后,点击区域改变 如题,UI中的Button,在MornUI中摆放好位置后,在程序中根据stage的实际宽高调整了一下位置,但调整后,Button点击不了。重新设置hitArea也不行。 2017-11-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20171128
# Button 组件详解 ## 1、创建Button组件 按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者两者同时显示。在LayaAirIDE里的按钮图片资源(按钮皮肤)命名通常是以btn为前缀,如图1所示。  (图1...
来源: Laya2.0_文档 发布时间: 20210714
..._fall"]; var curStateIndex = 0; Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "切换动作")); changeActionButton.size(160, 40); changeActionButton.label...
来源: Laya_示例 发布时间: 20251209
# Button 组件详解 ## 1、创建Button组件 按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者两者同时显示。在LayaAirIDE里的按钮图片资源(按钮皮肤)命名通常是以btn为前缀,如图1所示。  (图1...
来源: Laya2.0_文档 发布时间: 20210714
... WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; this.nameArr = ["canvas截图","sprite截图","清理"]; this._canvas = null; this.aimSp = null; this.drawImage = null; this.drawSp = null; this.mo...
来源: Laya2.0_示例 发布时间: 20251209
Laya 2.9.0 UI组件Button skin的引用次数无线增加的问题! 如附件图所示,新建官方2D示例, 在场景中新建一个默认的button组件(该例子使用2.9.0 ts版本, 最新的2.11.0也有问题) 操作&现象: 将鼠标反复在button上移进移出, comp.png ...
来源: Laya_社区 发布时间: 20210416
..."res/ui/dialog.png"); dialog.addChild(bgImg); // bgImg.size(400, 458); var button = new Button("res/ui/close.png"); button.size(50, 50); button.name = Dialog.CLOSE; button.pos(bgImg.width - button.width - 5, 5); dialog.addChild(button); dialog.dragArea = "0,0," + bgImg.width + "," + bgImg.height; di...
来源: Laya_社区 发布时间: 20200924
list单个中的单条的button怎么添加点击事件 2018-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Life | Growing up http://layaair.ldc.layabox.com/api/index.html?category=...
来源: Laya_社区 发布时间: 20180611