大约有 1,374 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1168) Laya2.0_文档(69) Laya3.0_文档(67) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
...用sprite的viewport去做,代码如下,但是图片不会被裁剪: loginUI.bbbar.viewport = new laya.maths.Rectangle(0, 0, 0, loginUI.bbbar.height) Game.timer.loop("progress", this, function() { //console.log("loginUI.bar.value = ", loginUI.bar.value); loginUI.bbbar.viewport.width = loginUI....
来源: Laya_社区 发布时间: 20170913
...unction _OnComplete() { var bounds = ani.getGraphicBounds(); console.log(bounds.width); console.log(bounds.height); } 这样的话获取动画宽高 还是只会取到第一帧宽高 并没有办法取到毎帧的宽高 2017-07-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170704
...ength; i++) { let fileUrl = files; console.log("加载文件测试", i, fileUrl); MiniFileMgr.readFile(fileUrl, "utf8", Laya.Handler.create(this, function() { console.log("加载文件测试1", i, fileUrl); })); ...
来源: Laya_社区 发布时间: 20200111
...链接 提交 1 个回复 浪货界扛把子 赞同来自: 1是手机上的log 2是电脑上layaair ide的log 2017-12-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 浪货界扛把子 相关问题 Layabox 2.0 bate5 运行编译之后 ...
来源: Laya_社区 发布时间: 20171221
...('downloadOK'); //let md5 = calcmd5(fs_readFileSync(localfile)); //console.log('md5='+md5); let zip = new ZipFile(); if(zip.setSrc(localfile)){ zip.forEach((id,name,dir,sz)=>{ if(!dir){ let buf = zip.readFile(id); //console.log("update "+name); let fid = window.appcache.hashstr('/'+name); //TODO ...
来源: Laya_社区 发布时间: 20180108
...android.app.ActivityThread.main(ActivityThread.java:5109) 附件 : --> err_log.rar 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 12 个回复 Monica - 知识达人 赞同来自: 你这边具体是怎么操作的...
来源: Laya_社区 发布时间: 20171225
...456 赞同来自: 代码部分: this.room_top1 = new Laya.Box(); console.log(this.room_top1) this.room_top1.on("click",this,function(){console.log("11111111111")}); 2017-11-16 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 你输出下box的宽高,看看是否有值吧 201...
来源: Laya_社区 发布时间: 20171116
... 1 个回复 Laya_Aaron 赞同来自: trace(变量) 。或者 consle.log(变量) 2018-05-31 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 。 相关问题 求问shader中的attribute变量怎么动态修改 路径是对的,但老...
来源: Laya_社区 发布时间: 20180531
Dialog 关闭效果无效 代码如下: var CommonDlg = (function (_super) { function CommonDlg() { CommonDlg.super(this); } Laya.class(CommonDlg, "CommonDlg", _super); var _proto_ = CommonDlg.prototype; _proto_.closeEffect = Laya.Handler.create(null, this.onCloseEffect, null, true); _proto_.onCl...
来源: Laya_社区 发布时间: 20171107
... this.header.getChildByName("toggleMenu").getChildByName("log"),//日志 this.header.getChildByName("toggleMenu").getChildByName("rank"),//排名 this.header.getChildByName("toggleMenu").getChildByName("recharge")//充值 ] ...
来源: Laya_社区 发布时间: 20170301