大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
...把Laya.init的值写成一个动态的变量,譬如 Laya.init(ww,hh); if(fuScreen) { ww=xxx; hh=xxx; } else { ww=xxx; hh=xxx; } 2017-04-27 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 shiyang 相关问题 uni...
来源: Laya_社区 发布时间: 20170427
...questCallback); } private function requestCallback(success:Boolean):void { if(success) { loadingRes(); } } "TypeError: this.loadingRes is not a function\n at RequestConfig.__proto.requestCallback [as _callback] 2017-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20170118
... ${progress.toFixed(2)}%\n`; // 加载完成后清除进度事件帧监听 if (progress == 100) { this.logger.text = `当前下载进度: 100%\n`; Laya.timer.clear(this, this.onHttpRequestProgress); console.log("加载进度完成,清除进度事件帧听"); } } /** * 请求完成时触发的响...
来源: Laya3.0_文档 发布时间: 20251010
...rt(): void { this.color_btn.on(Laya.Event.CLICK, this, this.onTipClick); } if(tipBtn == this.color_btn){ this.label.bgColor = "#ffffff"; 2019-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折...
来源: Laya_社区 发布时间: 20190722
...1.7.22 Component 中的 changeSize 方法增加了下面的代码引起的 if (this._layout.enable){ this.resetLayoutX(); this.resetLayoutY(); } 2018-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20181214
...y有漏洞 protected function loadComplete(url:String, img:Texture):void { if (url === _skin && img) { var w:Number = _clipWidth || Math.ceil(img.sourceWidth / _clipX); var h:Number = _clipHeight || Math.ceil(img.sourceHeight / _clipY); var key:String = _skin + w + h; key这样得到真的ok...
来源: Laya_社区 发布时间: 20171128
...t.addEventListener("touchstart",function(data){ Test.call("wxRegLogin",a); if(data.test == "test"){ var integralMall = new IntegralMall(); Laya.stage.addChild(integralMall); } }); android 里面的方法 public static void wxRegLogin(boolean bOpen){ Log.e("LayaAir回调结果", "====================...
来源: Laya_社区 发布时间: 20180103
...博 QZONE 微信 zmc1220 赞同来自: LayaNative跳转页面Js写法 if(window.conch) { window.conch.setExternalLink("http://layabox.com/";); } 这个是js写法, 有没有从java类的方法里面向页面跳的方法 2017-12-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20171228
...ed setSource(url: string, img: any = null): void { if (url === this._skin && img) { this.source = img this.onCompResize(); } } /** * @inheritDoc ...
来源: Laya_社区 发布时间: 20191024
Laya2.1.0的BUG!Texture类的getTexturePixels var uv=null; if (x !=0 || y !=0 || width !=texw || height !=texh){ uv=uv.concat();我想知道,引擎这段报错代码是什么鬼? Texture类的getTexturePixels 定义:var uv=null; 然后:uv=uv.concat(); ???? 附件 : --> 2019-07-0...
来源: Laya_社区 发布时间: 20190705