• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 273 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)

221. JS中List容器里renderHandler和itemHandler渲染器如何使用 [ 59%]

...this, this.updateList);         ActivityXXXXXUI.prototype.updateList = function(cell, index)     {         var info = cell.dataSource;         var img_icon  = cell.getChildByName("img_icon");//图标         var lab_name  = cell.getChildByName("lab_name");//名称    }   itemH...

来源: Laya_社区 发布时间: 20170808

222. 解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop() [ 58%]

... new Worker("libs/sleepThread.js");     ILaya.m_worker.onmessage = function () {         if (!ILaya.stage.isVisibility) {             // console.log("_enterFrame...ILaya.stage._loop.........2222............enterTime=", ILaya.Browser.now());             I...

来源: Laya_社区 发布时间: 20201201

223. laya打包淘宝小部件是否支持升级3.0 [ 58%]

...tRuntimeVersion": "3.0-vue".之后编译会报错my.createCanvas is not a function. 2.  之后将"enableEnhancedBuild"栏位删除, 只保留"widgetRuntimeVersion": "3.0-vue".  不会报错,但是预览或者上传后, 显示白屏.   是否目前laya打包不支持淘宝3.0? 上传了一个例...

来源: Laya_社区 发布时间: 20230420

224. Laya.Script的派生类的_update函数不工作? [ 58%]

...统中报错,引擎无法正常工作 执行回调函数时报is not a function 问题状态 最新活动: 2018-06-15 10:30 浏览: 1976 关注: 3 人 Maru • 2019-02-26 18:27 我这儿也是_update里没执行 这哥们的问题解决了么。。。 Maru • 2019-02-26 18:30 没事儿了 版本...

来源: Laya_社区 发布时间: 20180614

225. 使用layaide进行打包,提示如下错误。 [ 58%]

...行打包,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如...

来源: Laya_社区 发布时间: 20170604

226. layaair2.0 js的程序入口在哪?跟以前的不一样了 。 [ 58%]

...ist中添加多元素的item 导微信小程序报错window.focus is not a function 微信小程序 发布后缺少app.json文件 mac 用layaair2.0 ide 的编辑模式下,cpu爆满 drawTexture 画出来的数据会有以前的数据 想将以前的页游项目转成h5 问题状态 最新活动: 20...

来源: Laya_社区 发布时间: 20181026

227. zip更新模式缓存是怎么读取的?? [ 58%]

...因为在实际使用的时候还是会下载 * 'unknownError' * @param {function(localfile:string):void} onEnd 更新完成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下...

来源: Laya_社区 发布时间: 20180108

228. 加载.atlas动画错误 [ 58%]

...s("http://10.10.20.58/chicken/res ... ot%3B,laya.utils.Handler.create(this,function(){ //添加到舞台 Laya.stage.addChild(roleAni); roleAni.play(); }));     代码就这几行.... 2018-03-22 0 0 分享 微博 QZONE 微信 wdmingzi2 赞同来自: 只是单纯的调用加载接口  然后就加...

来源: Laya_社区 发布时间: 20180322

229. 全局安装layaair2-cmd报错怎么办啊 [ 58%]

...at Module.load (node:internal/modules/cjs/loader:981:32) npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:822:12) npm ERR!     at Module.require (node:internal/modules/cjs/loader:1005:19) npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)   请问有人...

来源: Laya_社区 发布时间: 20220406

230. 使用getChildByName()无法得到子节点对象 [ 58%]

... page2._list.renderHandler = new Handler(this, onRender);         function onRender(cell,index){             //如果索引不再可索引范围,则终止该函数             if(index > json.length)return;             //获取当前渲染条目的...

来源: Laya_社区 发布时间: 20180717