大约有 965 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)
...nd(x0 + r * Math.cos(hudu)); let y1 = Math.round(y0 + r * Math.sin(hudu)); console.log("Point :x=", x1, "y=", y1,"hudu=",a); return { x: x1, y: y1, hudu: a }; } 2019-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...
来源: Laya_社区 发布时间: 20190629
... = true; this.onConfigLoaded(); } onVersionLoaded() { } onConfigLoaded() { console.log(123131313213); } } new Main(); }()); 错误信息: Uncaught TypeError: window.wx.getFileSystemManager is not a function at window.wxMiniGame (laya.wxmini.js:271) at Function.__init__ (laya.core....
来源: Laya_社区 发布时间: 20200104
...,Handler.create(this,()=>{ sp.graphics.getBoundPoints().forEach(e=>{ console.log("_getBoundPointsM:",e); }); })); sp.x=0; sp.y=0; this._sptse=sp; Laya.stage.addChild(sp);
来源: Laya_社区 发布时间: 20170423
... return; } // console.log("this['_atlasPath']---->",this['_atlasPath']); var atls_ary:Array<any> = Loader.getAtlas(this['_atlasPath']); this.basePath=atls_ary['dir']; ...
来源: Laya_社区 发布时间: 20180615
...); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Laya.stage.addChild(sp); setTimeout(function () { var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } ...
来源: Laya_社区 发布时间: 20170103
...2); Laya.stage.addChild(letter); letter.on("click", this, (function(para){ console.log("z:"+z+";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + letterList[para]); }; })(z)); } 控制台结果: z:0;para:0;letterList[para]:A z:1...
来源: Laya_社区 发布时间: 20180810
...ddChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x < -100) { this.bb *= -1; } } 控制一直6像素来回移动 它就会出现颤抖 不管几像素都会 附件 : --> testL...
来源: Laya_社区 发布时间: 20180102
...新 this.obj.transform.rotate(this.rotation, false, false) } onDisable() { console.log("组件设置为不可用"); } } 2020-06-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 GameMonkey 相关问题 sprite旋...
来源: Laya_社区 发布时间: 20200611
...a = land.getChildByName("Camera"); camera.addComponent(CMS);//控制脚本 console.log(camera); } 2019-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 苏栢 相关问题 unity导出粒子文件问题 请问有没有方...
来源: Laya_社区 发布时间: 20180807
...(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