大约有 112 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0052 秒)
...那边将matter.js文件导入 ,在game.js里面加入 window.Matter = require("./matter.js"); 这样程序里面可以获取到引用并正常使用,但有些手机不支持这样写会卡死在微信初始化小游戏这地方(测试过这样这地方这样导入JS就百分百卡死 如果...
来源: Laya_社区 发布时间: 20180508
...饰器语法 }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群里有大神提供了一种解决办法: 右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules->rol...
来源: Laya_社区 发布时间: 20201223
...解析xml适配 附件中的xml解析库 引入方式: window.Parser = require("./js/dom_parser"); 附件 : --> js.rar 2018-01-03 3 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 18 个回复 s_hao 赞同来自: 大...
来源: Laya_社区 发布时间: 20180103
...layaair2-cmd/node_modules/natives/index.js:143:24) at Object.req [as require] (/usr/local/lib/node_modules/layaair2-cmd/node_modules/natives/index.js:55:10) at Object.<anonymous> (/usr/local/lib/node_modules/layaair2-cmd/node_modules/graceful-fs/fs.js:1:37) at Module._compile...
来源: Laya_社区 发布时间: 20210420
...e (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> 请问怎么解决? 2017-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20170827
...e (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/private/var/folders/g5/h6n06svn2z315kkr_yd3sl340000gn/T/AppTranslocation/00AE3A00-14A8-45D8-BBAE-FCEFB0982E0B/d/LayaAirIDEMac_1.7....
来源: Laya_社区 发布时间: 20170812
...w Main (bundle.js:31) at bundle.js:54 at bundle.js:56 at require (WAGameSubContext.js:1) at WAGameSubContext.js:1 at index.js:7 at require (WAGameSubContext.js:1) 2020-01-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20200104
...t;>after I/LayaBox: found the file in the package:app.json I/LayaBox: require(/sdcard/layabox/scripts/scripts/index.js) require(/sdcard/layabox/scripts/index.js) found the file in the package:scripts/index.js I/LayaBox: require(/sdcard/layabox/scripts/async.js) found the f...
来源: Laya_社区 发布时间: 20190723
...用2个方法,在 H5 上是可以正常输出内容的。 ```javascript require("a.js") require("b.js") a(); //a b(); //b ``` 但是在淘宝创意互动项目中是不支持这种写法的,需要把这 2 个方法挂载到全局变量 `$global.window` 上,修改如下: ```javascript //a.js ...
来源: Laya2.0_文档 发布时间: 20210714
...ine%20297%20%3E%20eval:4:30925 Error: WebGL: texSubImage2D: This operation requires zeroing texture data. This is slow. 如题 这可能是什么引起的? 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20171120