大约有 1,081 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 JS 是没有自动补全提示吗 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个...
来源: Laya_社区 发布时间: 20231107
...把子 • 2018-01-16 12:04 @Monica: window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); // alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); var Test=Laya.PlatformClass.createClass("com.ygames.buyugl.zh.MainActivi...
来源: Laya_社区 发布时间: 20180116
...//初始化你预先设置的参数 ModeKey.prototype.init = function () { console.log(this.moveKey, this.layer, this.moveMax) this.moveKey.on(Laya.Event.MOUSE_DOWN, this, this.downFun); //记录一开始小圆点的位置,方便鼠标弹起的时候自动返回开始位置 this.moveKey.mode = {x:...
来源: Laya_社区 发布时间: 20171030
...sponse:\n" + xhr.responseText); var data = JSON.parse(xhr.responseText); //console.log(data); if (data.result_status == 1 && data.top_list) { WxRankManage._top_list = data.top_list; //对排行数据进行处理 //wb.EventManager.dispatchCustomEvent(wb.HTTPRE, xhr.responseText); } } }; } var...
来源: Laya_社区 发布时间: 20180807
...emo 代码非常少 可以重现我说的问题 function initLaya() { console.log('Laya.version:' + Laya.version); //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 Laya3D.init(750, 1334, true); //适配模式 Laya.stage.scaleMode = 'fixedwidth'; Laya.stage.screenMode = Laya....
来源: Laya_社区 发布时间: 20180426
...@IEditorEnv.regClass() class Script { static speak(arg1: any, arg2: any) { console.log(arg1); console.log(arg2); } } 然后打开终端,输入命令LayaAirIDE --project=C:\Users\ASUS\Desktop\LayaProject --script=Script.speak --script-args="say \"hello world\""后,如图2-2所示,可以看到...
来源: Laya3.0_文档 发布时间: 20251010
...r yfqian=(function(){ function yfqian(){ var debug=yfqian.getUrl("debug"); console.log("dubegs:",debug); if(debug=="yfqian"){ new VConsole(); webUrl=testUrl; phpUrl=testUrl_php; }else{ webUrl=adminUrl; phpUrl=adminUrl_php; } window.console.log('webUrl:',webUrl) if(window.document.body.clientWidth>...
来源: Laya_社区 发布时间: 20190313
...s,callback,thisObj) { var image = new Image(); image.onload = function() { console.log("图片已经加载"); callback(image,thisObj) }; console.log("图片加载中...") image.src = canvas.toDataURL("image/png"); return image; } </script>2. 在 as 代码中加入如下函数: private static...
来源: Laya_社区 发布时间: 20170718
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 大量sprite如何优化性能 请教下微信小游戏的内存和数据缓存? 1.7.20beta有bug,帧属性面板打不开 laya如何重写console.log 打...
来源: Laya_社区 发布时间: 20241015
...ogressBar.value = 0; } this.progressBar.value += 0.05; } onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } } new UI_ProgressBar();module laya { import Stage = Laya.Stage; import ProgressBar = Laya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; expo...
来源: Laya2.0_示例 发布时间: 20260303