大约有 103 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya_社区(58) laya_api(12) Laya2.0_api(12) Laya3.0_文档(8) Laya_示例(5) Laya2.0_文档(4) Laya2.0_示例(3) Laya3.0_api(1)
...k"); } }; Laya.class(GameStartView,"GameStartView", GameStartUI); 输出:Button {toggle: false, _bitmap: AutoBitmap, _text: Text, _strokeColors: null, _state: 0…} 其中为什么on事件无法触发,该怎么样写?谢谢! 2018-02-13 添加评论 免费帖 --> 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20180213
...N和RIGHT_MOUSE_UP,改为派发MOUSE_DOWN和MOUSE_UP,可以通过Event.button区分鼠标左中右键。 3.5 事件汇总 Laya.Script 里相关的输入处理函数有: /** * 鼠标按下时执行 */ onMouseDown?(evt: Event): void; /** * 鼠标抬起时执行 */ onMouseUp?(evt: Event): void; /...
来源: Laya3.0_文档 发布时间: 20251010
...Laya.Image = new Laya.Image(this.assets[0]); this.dialog.addChild(bg); let 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_文档 发布时间: 20251024
...的代码: ```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
...会关闭弹窗 laya,dialog弹出后是否能点击底下的view页面的button Dialog设置为模式窗口时关闭有问题 UI里Image或Dialog遮挡住按钮后,鼠标依然能穿透 代码模式下目录被编辑器左侧外框遮挡 dialog第二次不弹出了 怎么改变弹出的dialog在...
来源: Laya_社区 发布时间: 20170606
...eBtn.height+20); this.closeBtn.hitArea = closeRect; // closeBtn 为 Laya.Button 实例 this.closeBtn.on(Event.CLICK,this,this.closeWin); private closeWin():void { console.log("the window has closed..."); } 2017-09-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170920
...der.material.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/ui/button.png"); layaMonkey.meshRender.material.transformUV = new Laya.TransformUV(); console.log(layaMonkey.meshRender.material.transformUV); var rotation = new Laya.Vector3(0, 0.01, 0); var debugModel = false; var phasorSprite...
来源: Laya_社区 发布时间: 20171127
...区域底边之间的垂直距离(以像素为单位)。 Component button : Button[read-only] 获取对 ComboBox 组件所包含的 Button 组件的引用。 ComboBox cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存...
来源: laya_api 发布时间: 20170929
...域底边之间的垂直距离(以像素为单位)。 UIComponent button : Button[read-only] 获取对 ComboBox 组件所包含的 Button 组件的引用。 ComboBox cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,...
来源: Laya2.0_api 发布时间: 20190513
...不住 怎么解决 关于List问题 list scroll list单个中的单条的button怎么添加点击事件 请问list如何判断已经拉到底部了 问题状态 最新活动: 2017-08-05 15:22 浏览: 984 关注: 2 人 xuexiaorui • 2017-08-05 15:25 怎么上传 xuexiaorui • 2017-08-05 15:29 上...
来源: Laya_社区 发布时间: 20170805