大约有 132 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(81) laya_api(12) Laya2.0_api(12) Laya3.0_文档(10) Laya2.0_文档(6) Laya_示例(6) Laya2.0_示例(4) Laya3.0_api(1)
怎么打开第二个工程 怎么在本工程中通过一个button打开另一个工程 2018-02-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你这个是要在调试过程中点击...
来源: Laya_社区 发布时间: 20180223
...不住 怎么解决 关于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
...的代码: ```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
...runWith (file:///K:/laya/mylaya11/bin/libs/laya.core.js:711:59) // at Button.__proto.event (file:///K:/laya/mylaya11/bin/libs/laya.core.js:488:30) // at TouchManager.__proto.sendEvents (file:///K:/laya/mylaya11/bin/libs/laya.core.js:3265:7) } } 2018-02-10 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180210
...lass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Event.CLICK, th...
来源: Laya3.0_文档 发布时间: 20251010
...nds Laya.Script { // 以下资源来自“引擎API使用示例” private buttonSkin: string = "resources/res/ui/button-7.png"; private clipSkin: string = "resources/res/ui/num0-9.png"; private bgSkin: string = "resources/res/ui/coutDown.png"; counter: any; controller: any; currFrame: any; //组件...
来源: Laya3.0_文档 发布时间: 20251010
...roy()销毁精灵不起作用 请问一下,在编辑模式下放置一个button 但是click事件不起作用什么原因 nativefiles不起作用 为什么off不起作用 好像1.7.17类库创建阴影和发光滤镜不起作用哦 MOUSE_DOWN与MOUSE_MOVE同时存在,不起作用,哪位大神...
来源: Laya_社区 发布时间: 20171130
...; if (this.confirmBtn == null) { this.confirmBtn = document.createElement("button"); this.confirmBtn.id = "confirm"; this.confirmBtn.innerText = "确定" this.MyBtn.appendChild(this.confirmBtn); } this.newMask = document.createElement("div"); this.modlueDiv.style.visibility = "visible"; var clip...
来源: Laya_社区 发布时间: 20181214
...方法只是多了个位置的设置就好用了,按说sprite和不是和button一样吗 ohkei • 2017-01-20 16:21 btn.mouseEnabled = true,还是不识别鼠标事件啊 ohkei • 2017-07-22 22:45 @Monica: 我如何能让Sprite宽高默认是内容的宽高? Monica • 2017-08-24 11:04 @ohkei...
来源: Laya_社区 发布时间: 20170120
...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