大约有 1,363 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1161) Laya2.0_文档(69) Laya3.0_文档(63) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
...(以下代码来自“2D入门示例”): onEnable(): void { console.log("IndexRT onEnable") //侦听ui按钮点击事件 this.uiBtn.on(Laya.Event.CLICK, this, () => { //点击后,打开UI场景示例 console.log("uiBtn"); Laya.Scene.open("scenes/UiMain.ls"); }); //侦听物理按钮点...
来源: Laya3.0_文档 发布时间: 20251010
关于优化求助思路,运行时log 内存500M多,IPhone6还是卡死 点击发布一直处于正在处理请稍后界面 并且Iphone6 无法运行,7P,X没问题 求助优化思路,附件已上传 <!------------------------分割-----------------------> 打包问题解决...
来源: Laya_社区 发布时间: 20180509
dialog 里的数据已经获取到了,也赋值了但是页面没跟新,addChild好像无效果 var fooddata = []; for (var X = 0; X < res.data.length; X++) { var foodid = res.data[X]['n_food_id']; var foodtxt = res.data[X]['n_number']; fooddata[X] = { food: { skin: 'comp/food' + foodid + '....
来源: Laya_社区 发布时间: 20181221
..., this, this.onError); } onAssetLoaded(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 onLoading(progress) { console.log("加载进度: " + progress); } onError(err) { console.log("加载失败: " + err); } } new Loader_ProgressAndErrorHandle();module laya { impor...
来源: Laya2.0_示例 发布时间: 20251130
Native0.9.8 下打入了部分资源,dcc也打了,查看log时,发现把进去的资源还是 download而不是像文档上说的 found the file in the package: 打包的资源是不是还需要从下载? 2017-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170912
...戏黑屏 日志如下: 08-18 12:03:07.569 26847-27206/? E/sava_native_log: level:1,code:1,info1:brick_log,info2:keepScreenOn CMSHOW_SC_CMD_STOP_GAME ,info3: 08-18 12:03:07.570 26847-27206/? E/sava_native_log: level:1,code:1,info1:brick_log,info2:user unset keepScreenOn,ignore the value,info3: ...
来源: Laya_社区 发布时间: 20180818
...一直获取不到,请教一下什么问题 //注册按钮响应函数 Login.prototype.onButtonLogin = function (){ console.log ('按了登录按钮') var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event....
来源: Laya_社区 发布时间: 20180824
...ckerTouchDown); function onCtrlMoveRockerTouchDown(e) { console.log("onCtrlMoveRockerTouchDown()"); this.ctrlMoveRockerPosX = undefined; this.ctrlMoveRockerPosY = undefined; var tX, tY; var ts = e.touches; console.log(e.stageX + ":" + e.stageY); if(ts) { ...
来源: Laya_社区 发布时间: 20171204
...item = {pic:{skin:'cards/'+i+'tong.jpg'}}; this.data.push(item); } console.log(this.data); this.list1.dataSource = this.data; this.list1.x = 50; this.list1.y = 500; this.list1.getChildAt(0).height = 100; this.list1.vScrollBarSkin = ""; this.list1.hScrollBarSkin = "comp/hscroll.png"; this.list1.rende...
来源: Laya_社区 发布时间: 20170914
... - 知识达人 赞同来自: 是必现的吗?能否提供一个完整的log呢? 2017-12-11 0 10 分享 微博 QZONE 微信 lgs88 赞同来自: 是指logcat的输出吗,上传了 log.zip 2017-12-11 0 0 分享 微博 QZONE 微信 lgs88 赞同来自: 好 上传了 log.zip 2017-12-11 0 0 分享 ...
来源: Laya_社区 发布时间: 20171211