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

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

301. 原生app缓存能不能不关联热更地址 [ 54%]

...数 as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? ts如何获取客户端IP地址 Layabox环境不支持 原生 js的 websocket 原生层 通过Conch 调用js 方法 并传递json 对象 报错 请问Laya.loader.load资源缓存在哪里...

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

302. es6代码发布时如果勾选压缩混淆 JS, 则发布报错 [ 54%]

...' 3. 发布失败, 报如下错误: [ERR]|CompressJS Fail: /Users/somebody/Documents/code/lab/myLaya/bin/js/Hello.js {"message":"Unexpected token: keyword (const)","filename":"0","line":1,"col":0,"pos":0} 补充说明: 尝试将 jsconfig.json 中的compilerOptions.target的值改为ES6, 报错依旧...

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

303. 调用facebook分享接口后,键盘失效,无响应? [ 53%]

...行榜 功能后按键失效,  好像他们4399的弹框阻断了window/document的按键响应, focus事件也收不到了。 2019-02-16 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 与平台相关的问题,不在引擎的范围内,如果需要我们帮忙处理需要扫网站...

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

304. iphone自带浏览器页面怎么锁定 [ 53%]

...来自: cuixueying 在HTML页面加上这句可以解决。<script>document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);</script> 2016-09-01 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自:    你好,这个取决于手机端浏览器的限制,layaA...

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

305. 谷歌浏览器无法使用skeleton.load [ 53%]

...哪里配置有问题么?谢谢 Failed to load file:///C:/Users/suteam/Documents/demoBojue_Laya/bin/h5/other/spine/kente.sk: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 2018-01-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

306. TS项目编译报错‘inspector.d.ts' not found’ [ 53%]

...ons/LayaAirIDE_beta.app/Contents/Resources/app [11:19:00] Using gulpfile ~/Documents/sports1/.laya/gulpfile.js [11:19:00] Starting 'default'... 出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(34,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found. 重...

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

307. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 53%]

...) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个...

来源: Laya2.0_文档 发布时间: 20210715

308. IDE2.4+ vscode调试教程 [ 53%]

...? 根据官方教程:FlashBuilder-LayaCompiler-运行提示"must set Document Class!" 问题状态 最新活动: 2019-12-05 12:51 浏览: 2515 关注: 6 人 A • 2019-12-25 18:19 调试需要生成maps https://ldc2.layabox.com/doc/% ... 3-0-7 A • 2019-12-25 18:21 不过现在laya官方已经...

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

309. native二次开发java怎样调用js方法? [ 53%]

...用 as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? 有没有克隆控件的方法,prefab能否在代码上调用 Laya Native环境下如何生成二维码?官网提供的方案只能在浏览器下运行。因为qrcode.js依赖浏览器...

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

310. loader callback cost a long time:187 这个提示是因为什么? [ 53%]

...什么? loader callback cost a long time:187 url=D:/Users/Administrator/Documents/LayaDemo2/bin/Effect/E_bsd_skill2/Assets/E_SnowQueen_binglengqianghua_bingshuang1.png 这个图片29K,也不大啊 2017-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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