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

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

91. layaair2-cmd compile 有bug [ 54%]

...aair2-cmd compile 有bug layaair2-cmd compile [22:15:17] Working directory changed to /usr/local/lib/node_modules/layaair2-cmd fs.js:27 const { Math, Object } = primordials;                          ^ ReferenceError: primordials is not defined     at fs.js:27:26     at req_ (/usr/lo...

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

92. IOS微信内置浏览器陀螺仪问题 Laya2.4.0bate [ 53%]

...rientation', function(event)  {}) Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onDeviceorientation);  连接打开方式都由微信扫一扫打开,safari不支持此demo运行 查找到资料地址: https://caniuse.com/#search=deviceorientation ios测试微信浏览器页面地址...

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

93. 如何使用vscode编译laya项目 [ 53%]

...istening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gulp.js:8 laya_ide_time.require.single.semver...

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

94. layaair2-cmd compile 编译不了 [ 53%]

...estMap4\testMap2WX> layaair2-cmd compile [18:00:34]  Working directory changed to ~\Documents\testMap4\testMap2WX\.laya [18:00:34]  Using gulpfile ~\Documents\testMap4\testMap2WX\.laya\compile.js C:\Users\huangxuejie\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\_gulp@3.9.1@gulp\bi...

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

95. 编译时报错 [ 53%]

编译时报错 [16:24:15] Working directory changed to D:\tools\LayaAirIDE_beta2.5\resources\app   [16:24:15] Using gulpfile D:\workspace\Test_2_5_1\.laya\compile.js   [16:24:15] Starting 'layacompile'...   [16:24:16] Finished 'layacompile' after 634 ms   [16:24:16] Starting 'compile'...   [1...

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

96. Laya2.0引擎创建3d示例项目运行报错 [ 52%]

...编译 -------------------------------------- [10:29:49] Working directory changed to C:\Program Files (x86)\LayaAirIDE_beta\resources\app [10:29:49] Using gulpfile ~\Documents\myLaya\myLayaEmpty\.laya\gulpfile.js [10:29:49] Starting 'default'...  出错了: TypeScript error: ../../../node_modules/...

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

97. 我想问下如果要调用手机本地相册,能不能用HTMLDivElement?该怎么用 [ 52%]

...00" id="canvas"></canvas> </body> <script> $("#file").change(function (){ var file = new FileReader();//读取文件2进制 file.onload = function(e){ var base64 = e.target.result; var img = new Image();//创建一个图片对象 img.onload = function (){ var canvas = $("#canvas...

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

98. QQ 玩一玩 laya.bkadpter.js (新的版本) 报错 [ 52%]

...错了: level=1, code=-1, info1=Execute JS Error![TypeError: Attempting to change the setter of an unconfigurable property.]: line = 1075, column = 24, sourceURL = /Users/tsubasa/Library/Developer/CoreSimulator/Devices/565D33C9-E1BA-42BF-87C3-3282FD83F6C5/data/Containers/Bundle/Application/38D2253A-...

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

99. 有个问题想不明白,请教一下。为什么List的selectedIndex要对List进行重新渲染 [ 52%]

...x修改的是_selectedIndex值和对选中状态的显示和隐藏,派发change事件,调用selectHandler。 为什么要对List重新渲染。如果我的list里的子项内容修改了,但是selectedIndex重新渲染List,那么修改过的子项不是就变回最初的内容。那不就是...

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

100. iPhone6 ios 8.3系统 最新的QQ 锁屏再解锁 游戏闪退 [ 52%]

... var hidden:String = "hidden", state:String = "visibilityState", visibilityChange:String = "visibilitychange"; var document:* = window.document; if (typeof document.hidden !== "undefined") { visibilityChange = "visibilitychange"; state = "visibilityState"; } else if (typeof document.mozHidden !== "u...

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