大约有 1,240 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0049 秒)
Laya_社区(920) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(43) laya_api(2) Laya2.0_api(2)
...t.close() 后 this.socket.connected 的状态还是true 且 没收到 Laya.Event.CLOSE 事件通知 但在浏览器上是正常的.. 2017-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识...
来源: Laya_社区 发布时间: 20171010
...过程中断网,动画还会继续加载吗? 引擎加载动画完成的 event.complet 事件,在加载动画过程中断网,然后重连网络后,该事件一直没有被触发?请问有什么解决方案吗? 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180331
... Lload.__super.call(this); this.dh(); this.btn.on(Event.MOUSE_DOWN,game,this.toquanjing); Laya.propertyIsEnumerable = true; } Laya.class(Lload,"Lload",ui.loadUI); Lload.prototype.dh = function(){ this.ani1.play(0,true); Tw...
来源: Laya_社区 发布时间: 20160815
...id { let hr = new Laya.HttpRequest(); hr.once(Laya.Event.COMPLETE, this, (e: any): void => { callback(JSON.parse(hr.data)); }); hr.send(url, JSON.stringify(data), 'post', 'text', ['content-type', 'application/json;charset=UTF-8', "ses...
来源: Laya_社区 发布时间: 20190829
... name: "", inspector: "Buttons", options: { buttons: [{ caption: "生成", event: "click_start_gen" }] } } ] } ]); Editor.extensionManager.createSettings("SplitAtlasSetting", "project"); } } 2025-07-23 0 0 分享 微博 QZONE 微信 LayaAir小牛 赞同来自: 方法为Editor.showOpenDialog 2025-07-...
来源: Laya_社区 发布时间: 20250702
...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...
来源: Laya2.0_文档 发布时间: 20210714
...Source); cell.setImg(cell.dataSource[index]); cell.on(Laya.Event.CLICK, function() { console.log("click") }) } function onSelect(index) { console.log("当前选择的索引:" + index); } function createAPIList(api_list_view) { let data = []...
来源: Laya_社区 发布时间: 20180724
...需要再添加下面代码所示的右键Up监听: this.owner.on(Laya.Event.RIGHT_MOUSE_UP, this, this.onRightMouseUp); 2025-02-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 仓颉 相关问题 TextInput重写onFocus和onBlur事...
来源: Laya_社区 发布时间: 20250220
...请问下 let templet = new Laya.Templet(); templet.on(Laya.Event.COMPLETE, this, () => { this.skeleton = templet.buildArmature(1); this.pos1.addChild(this.skeleton); this.skeleton.play("work", true); ...
来源: Laya_社区 发布时间: 20210811
...问题!!!求救啊!!求救啊!! this.fullScreen_btn.on(Laya.Event.CLICK, this, this.onFullScreen, null); _proto.onFullScreen = function () { toggleFullscreen(); }; function launchIntoFullscreen(element) { var element = document.documentElement; if (element.requestFullscreen)...
来源: Laya_社区 发布时间: 20190715