大约有 585 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(389) Laya2.0_api(59) laya_api(55) Laya2.0_文档(29) Laya3.0_文档(21) Laya2.0_示例(16) Laya_示例(13) Laya3.0_api(3)
...37 laya的视频在微信下回全屏啊!不能做! 原生的body绑定click事件都不行了使用了laya以后,只有touchstart行,touchend不行。可以由于需求原因 只能touchend 好坑哪
来源: Laya_社区 发布时间: 20170719
...点击事件,求助 //响应点击事件 humanSkeleton.on(Laya.Event.CLICK,this,onclickHuman); function onclickHuman(){ console.log("onclickHuman"); } https://www.cnblogs.com/Jackie-Snow/p/8487607.html 网上的这个方式试了,没用,按照网上说是没有设置width与height 但是...
来源: Laya_社区 发布时间: 20180909
...ioElement; constructor(){ super(); this.btn_play.on(Laya.Event.CLICK, this, this.onPlay); this.elentAutio = <HTMLAudioElement>document.createElement('audio'); this.elentAutio.src="res/10.mp3"; } onPlay():void{ this.elentAutio.play(); } 由于要播放一些跨...
来源: Laya_社区 发布时间: 20170217
...ector: "Buttons", options : { buttons : [ { caption : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以直接this._data = {}; this._data = IEditor.DataWatcher.watch({}); //inspect可以多次调用,将多个数据...
来源: Laya3.0_文档 发布时间: 20251010
...55, 72); ape.pos(200, 200); // 显示默认纹理 switchTexture(); ape.on("click", this, switchTexture); } function switchTexture() { var textureUrl = (flag = !flag) ? texture1 : texture2; // 更换纹理 ape.graphics.clear(); ape.loadImage(textureUrl); var texture = Laya.loader.getRes(textureUrl); ...
来源: Laya2.0_文档 发布时间: 20210715
... as Laya.Image; console.log(e); e.on(Laya.Event.CLICK, this, this.onBtnClick); } 按钮事件 private onBtnClick(event:Laya.Event): void { let b = event.currentTarget as Laya.Image; console.log('onClickLevel > ' + b.skin); this.removeSelf(); Laya.stag...
来源: Laya_社区 发布时间: 20190802
...式中会吸住控件 Mac OS 10.11.6 AirIDE 1.1.0 在触摸板开启Tap To Click情况下 轻触一次触摸板,就会把控件吸住不放,控件会跟着触摸板乱飞而无法释放。 2016-08-24 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20160824
...中不起作用 请问一下,在编辑模式下放置一个button 但是click事件不起作用什么原因 StaticBatchManager.combine 始终不起作用?请问官方可以给一个简单的代码么? 设置背景音乐音量大小,ios,不起作用 destroy()销毁精灵不起作用 matter....
来源: Laya_社区 发布时间: 20251028
...6-28 23:26 给 Sprite 中 按键设置name ,然后通过 Sprite.on(Event.CLICK,this,yfqian_GameUi); public function yfqian_GameUi(e:Event):void{ trace("Sprite:",e.target.name) }
来源: Laya_社区 发布时间: 20180627
... 微博 QZONE 微信 叔年心~厌世 赞同来自: demo在这 test_bug_click.zip 2019-09-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 叔年心~厌世 相关问题 2.0一不小心删了bin目录下的...
来源: Laya_社区 发布时间: 20190923