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

大约有 55 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0029 秒)

51. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 47%]

...-filedata-url:" + message.url); console.log("ddddddddddddddddddddd"); Laya.MiniFileMgr.ziyuFileData[message.url] = message.data;//文本数据 } }); --------------------------------------------------------------------这里下载xiaosong的Demo,onMessage函数是有错的,判断的是message.dat...

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

52. 今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined [ 44%]

...rror: Cannot read property 'USER_DATA_PATH' of undefined     at Function.MiniFileMgr.setNativeFileDir (http://127.0.0.1:37684/game/code.js:21639:46)     at Function.MiniAdpter.init (http://127.0.0.1:37684/game/code.js:21174:16)     at Object.init (http://127.0.0.1:37684/game/code.js:106755:29)...

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

53. 引擎中的修改意见 [ 43%]

...e if (char1 === "/") { return url; } return (base || basePath) + url; }5、MiniFileMgr中downFile只对200返回码做处理,实际会出现304 500 或者其他的错误码,并不会进入fail流程 public static function downOtherFiles(fileUrl:String, callBack:Handler = null, readyUrl:String = ...

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

54. 微信小游戏在开放数据域绘制排行榜无法显示图片 [ 40%]

...自: 您好,朋友。小游戏的排行榜有些问题想请教您。   MiniFileMgr.ziyuFileData[message.url] = message.data;//文本数据 这行代码一定要有,虽然我不知道这个是干什么的,但是把图集的数据加载到这个变量里之后,再load图集就不会报错了...

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

55. Laya中Button等组件lose skin的问题 [ 30%]

...写formatURL MiniAdpter.formatURL=function(url,base){         if (MiniFileMgr.isLocalNativeFile(url)){             if (URL.customFormat !=null) {                 return URL.customFormat(url,base);             }             return url;   ...

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