大约有 8 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0055 秒)
...关注: 2 人 呀嘿呦 • 2018-07-04 01:17 请问一下,是否可以给button 换图片?
来源: Laya_社区 发布时间: 20170112
...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...
来源: Laya3.0_api 发布时间: 20231115
...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...
来源: Laya3.0_api 发布时间: 20231115
...的代码: ```java package { import laya.display.Sprite; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(500,500); var skins:Array = [ "res/button-1.png" ]; Laya.loader.load(skins, Handler.create(...
来源: Laya2.0_文档 发布时间: 20210715
...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...
来源: Laya3.0_api 发布时间: 20231115
...s,this.onUIAssetsLoaded)); } private onUIAssetsLoaded():void{ var btn:Laya.Button = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("inpu...
来源: Laya2.0_文档 发布时间: 20210715
...e(this,onUIAssetsLoaded)); function onUIAssetsLoaded(){ var btn = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file = Laya.Browser.document.createElement("input"); //设置file样...
来源: Laya2.0_文档 发布时间: 20210714
...s,this.onUIAssetsLoaded)); } private onUIAssetsLoaded():void{ var btn:Laya.Button = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("inpu...
来源: Laya3.0_文档 发布时间: 20241014