大约有 90 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
...码并打印到控制台。然而,什么也获取不到 下面是代码 console.log("开始测试"); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(Event.PROGRESS,...
来源: Laya_社区 发布时间: 20180208
...s.bgimg.mvtoy=movetoy; this.bgimg.speedx=speedx; this.bgimg.speedy=speedy; console.log("funmovebg"+movetox); Laya.timer.frameLoop(speed, this, funbg); 2017-10-25 0 2 分享 微博 QZONE 微信 yinglei999 赞同来自: var Loader = Laya.Loader; var loaderHandler = Laya.Handler; ...
来源: Laya_社区 发布时间: 20171024
怎么把console.log输出到控制台,我的只有 时间轴,跟概览。mac 2.7.0base 版本。 附件 : --> 2020-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: 运行后才能看...
来源: Laya_社区 发布时间: 20200616
...te onBlur() { // 暂停所有需要停止的逻辑 console.log("onBlur"); SoundManager.Instance.pauseBGM(); // // 部分机型包内不生效 SoundManager.Instance.pauseAllEffects(); } private onFocus() { if (!SoundMa...
来源: Laya_社区 发布时间: 20250930
...ll, this.onCloseEffect, null, true); _proto_.onCloseEffect = function () { console.log("in on close effect") this.close(); } return CommonDlg; })(Laya.Dialog);console.log并未输出任何东西 2017-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20171107
...ion; if(other.label === "heng"){ console.log("角度"+this.owner.rotation); this.owner.rotation=180-n; console.log("角度"+this.owner.rotation); } if(other.label === "shu"){...
来源: Laya_社区 发布时间: 20200817
...nFriend); this.v_btn_shop.on(Laya.Event.CLICK, this, this.onClickBtnShop); console.log("init main scene"); } //点击羁绊 private onClickBtnBoy():void { console.log("click onClickBtnBoy"); } private onClickBtnFriend():void { console.log("click onClickBtnFriend"); } private onClickBtnShop():void { ...
来源: Laya_社区 发布时间: 20180312
...fitDOMElements_scroll); } private fitDOMElements(a, b, c, d, e, f): void { console.log("----------the event resize-------") console.log("ref-resize:", this.myref.getBounds()); console.log("pan-resize", this.mypan.getBounds()); } private fitDOMElements_scroll(a, b, c, d, e, f): void { console.log("--...
来源: Laya_社区 发布时间: 20170720
... sp=new Sprite(); sp.name = i.toString(); console.log(sp.name); sp = project.drawsomething(20, 20+60*i, "#eeb9b3"); sp.on(Event.CLICK,this, onsp); Laya.stage.addChild(sp); } private function onsp(e:Event){ ...
来源: Laya_社区 发布时间: 20170330
...示不出来的,您可以尝试打印具体的值,例如 console.log(e.currentTarget._gridData.x); console.log(e.currentTarget._gridData.y); 就可以看到效果了 2025-03-25 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经...
来源: Laya_社区 发布时间: 20250325