大约有 596 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
...(x, y, r1, color1, color1, 0); function on_down(event) { console.log("_____ kbRing2\n"); } } function laya_test() { Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); var ring = new myRing(600, 300, 18, "#087729", 40, "#a87729"); La...
来源: Laya_社区 发布时间: 20161221
...(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var __extends = (this && this.__extends) || function(d, b) { for (var p in b) { (b.hasOwnProperty(p)) && (d[p] = b[p]); } function __() { this.constructor = d; } d.p...
来源: Laya_社区 发布时间: 20170619
...a.image = _name + _hash } _content = JSON.stringify(_content) } catch(e) { console.error(e) } file.contents = new Buffer(_content) this.push(file) return cb() }) }()) .pipe(gulp.dest('./server/static')) }) gulp.task('default', ['updata_atlas_version']) 供大家参考 ^_^ 附件 : --> 2018-04-12 ...
来源: Laya_社区 发布时间: 20180412
...nction(_super){ function Test(){ Test.super(this); console.log("执行测试构造函数"); } //注册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. return Test; })(); 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20180605
...true; this.addChild(effect3D); //console.hylog("_path:",_path); SetUVEffect(effect3D); } 附件 : --> effect3d.rar 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180601
...efine,materialDefine); } console.log(publicDefine,spriteDefine,materialDefine); } } //递归获取子对象 if (model._children) { for (var i: number = 0; i < model._children.length; i++) { this.compileShader(model._children[i]); } } } 2019-04-04 ...
来源: Laya_社区 发布时间: 20190404
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。...
来源: Laya_社区 发布时间: 20230905
...o.visible = true; gameex.bar.destoyRankSprite() this.nCountDown = 15; // console.log(gameex.snakeSelf) } }) //暂停 GameEx.prototype.pause = function () { console.log("停止播放音乐") Laya.SoundManager.stopMusic(); //停止游戏主循环 Laya.timer.clear(this, this.onLoop); //移除...
来源: Laya_社区 发布时间: 20180514
...名都是 类名加数字。1.7.3以后都是 有个‘$‘加数字。 console报错输出:Uncaught ReferenceError: StartUpCommand$3 is not defined 查了代码 我在他下面找到了那个命名为 ‘StartUpCommand$3’ 的地方 反正用1.7.2版本编译后是没问题的。现在在...
来源: Laya_社区 发布时间: 20170705
..., Laya.Handler.create(this, () => { var bounds = tl.getGraphicBounds(); console.log(bounds.width) }, [tl])); 还是0 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 hill_0219 相关问题 请问有没有方法能够获取...
来源: Laya_社区 发布时间: 20180124