大约有 81 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya_社区(55) Laya2.0_文档(8) Laya3.0_文档(6) Laya_示例(5) Laya2.0_示例(4) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
... = (yield asyncs.downloadSync(urlpath + 'update/assetsid.txt?rand=' + Math.random() * Date.now(), false, null)); console.log("assetsid old:" + curassets + " new:" + assetsidStr);第一句是从哪里获取netssetsid资源。这里我运行之后 Downloaded http://127.0.0.1/laya/update/a ... 0.0.1 s=...
来源: Laya_社区 发布时间: 20200328
...Browser.createElement("script"); var jurl:String = "Main.js?" + "r" + Math.random(); script.src = jurl; Browser.document.body.appendChild(script); 我采用这种方式不成功! 2018-01-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180127
... window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel < channels; channel++) { // This gives us the actual ArrayBuffer that contains the data var nowBuffering = myArrayBuffer.getChannelData(channel); for (var i = 0...
来源: Laya2.0_文档 发布时间: 20210715
... window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel < channels; channel++) { // This gives us the actual ArrayBuffer that contains the data var nowBuffering = myArrayBuffer.getChannelData(channel); for (var i ...
来源: Laya3.0_文档 发布时间: 20251010
... if (i!=whichistrue) { aniname="lose_1_"+aniname+".ani"; } else { ran=Math.random(); aniname="win_1_"+aniname+".ani"; } item.loadAnimation(aniname); item.x=60+(i-1)*120; item.y=y; item.size(80,80); item.name=aniname; this.doworkui.addChild(item); 2017-11-06 0 0 分享 微博 QZONE 微信 ysshao ...
来源: Laya_社区 发布时间: 20171106
...function changeColor(text){ console.log("update"); var c = Math.floor(Math.random()*4); console.log(c); switch(c) { case 0:text.color='red';break; case 1:text.color="blue";break; case 2:text.color ='black';break; case 3:text.color = 'green';break; case 4:text.color = "yellow";break; } console.log(te...
来源: Laya_社区 发布时间: 20180620
...ei - as3、as2、h5 赞同来自: <script src='LayaSample.max.js?'+Math.random() loader='laya'></script> 我是在后面加个随机数,这样能看到更新的laya js,如果更新同名图片,在loadImg时在图片后面加个图片版本号“图片url?v=”+imgVersion,每次...
来源: Laya_社区 发布时间: 20170721
... = (yield asyncs.downloadSync(urlpath + 'update/assetsid.txt?rand=' + Math.random() * Date.now(), false, null)); console.log("assetsid old:" + curassets + " new:" + assetsidStr); if (!assetsidStr) { if (curassets && curassets != "") { if (window["onLayaInitError"]) { isDccOk = false; window[...
来源: Laya_社区 发布时间: 20180111
...(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).toFixed(0); this.text.color="#CCCCCC"; this.text.x=Math.random()*550; this.text.y=Math.random()*400; textBox.addChild(this.text); } Laya.stage.addChild(textBox); } } 下面是笔者电脑上的运行时截图,...
来源: Laya3.0_文档 发布时间: 20251010
...更新了,会自动给文件加版本号:res.cdn.xxx/res/a.png?v=Math.random 这种方式么,这种好像只能破坏本地缓存,无法破坏节点缓存吧? 麻烦给个详细解释,感谢!
来源: Laya_社区 发布时间: 20180209