大约有 205 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...用射线打到场景上面,我给UI设置了名字,加到舞台 Laya.Button button = Laya.stage.addChild(new Laya.Button("res/layabox.png", "切换动作")) as Laya.Button; button.name = "abc"; Laya.Button.on(Laya.Event.CLICK, this, function:void{ 具体实现 }); 在另一个方法里...
来源: Laya_社区 发布时间: 20180416
...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
Button连续点击触发MOUSE_OUT事件问题 项目中给“Button”分别添加了MOUSE_OVER, MOUSE_OUT,CLICK事件,业务需求是鼠标移到按钮上显示悬浮框,移出按钮关闭悬浮框,但现遇到一个问题,鼠标正常从按钮上移入,移出都没问题,只要在按...
来源: Laya_社区 发布时间: 20180724
...类了,此时该如何获得场景内的元素呢,比如一个叫b1的Button,在该场景下的runtime里已经不能再通过this.b1来获得了,这个时候该怎么获得呢? 另外,如果直接在场景里放个脚本,通过公有属性像Unity一样直接把Button拖进来当做...
来源: Laya_社区 发布时间: 20190615
...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
...该组中当前所选的 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
...任何控制你都可以按自己的设计思路来,有点类似于基于button做了一个跟button一样的组件 2018-03-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zxcmht310 相关问题 发起问题须知,必看!!!...
来源: Laya_社区 发布时间: 20180330
Button等组件lose skin的问题 直接去https://ask.layabox.com/question/45052看吧 2019-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 文字我都看了,图片都裂了,...
来源: Laya_社区 发布时间: 20191024
...他下面有一个box,然后在box里添加其他的组件例如image,button啊,我现在想通过list获得box下面的button,应该怎么获得? 还有,list的getCell()函数返回的是一个box。那返回的这个box的宽和高,和我在引擎里设置的是一样的吗? 2017-1...
来源: Laya_社区 发布时间: 20171111
list滑动问题 我在list上添加了button,每次触发button事件时候都会连带着list滑动,如何能点击button的时候屏蔽掉下面的list滑动。。 或者说当我滑动的时候不会触发里面的button事件。。 2017-10-13 添加评论 免费帖 --> 分享 微博 QZO...
来源: Laya_社区 发布时间: 20171013