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

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

71. 用unity插件导出lh格式文件,再代码中加载使用的问题 [ 91%]

...t' of undefined bundle.js:64076     at PhysicsCollider.__proto._onAdded (file:///D:/fish_project/laya-air/myLaya1/bin/js/bundle.js:64076:30)     at Sprite3D.__proto._addComponentInstance (file:///D:/fish_project/laya-air/myLaya1/bin/js/bundle.js:40023:8)     at Sprite3D.__proto.addComponent (f...

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

72. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 91%]

...e='shi' num='10000' state='已集结' time_pro='' isOpen='true'>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' i...

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

73. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 91%]

...est('src/assets/index.ts')) .pipe(function(){ return through.obj(function (file, enc, cb) { staticVersion = JSON.parse(file.contents.toString()) let content = `export default ${file.contents.toString()}` file.contents = new Buffer(content) this.push(file) return cb() }); }()) .pipe(gulp.dest('.')) }...

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

74. 打包ios时,第第一次进入游戏闪退,第二次就没问题,报一下错误 [ 91%]

...s) 2018-01-28 23:29:52.637141+0800 qimiaomuchanIOS[5815:1707048] found the file in the package:scripts/promise.js 2018-01-28 23:29:52.639543+0800 qimiaomuchanIOS[5815:1707048] require(/sdcard/layabox/scripts/async.js) 2018-01-28 23:29:52.640659+0800 qimiaomuchanIOS[5815:1707048] found the file in th...

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

75. skin加载url资源不会刷新 [ 91%]

... 代码如下           Laya.loader.clearRes("http://10.144.1.20:8081/files/ ... 6quot;);         var test: Texture = Laya.loader.getRes("http://10.144.1.20:8081/files/ ... 6quot;);         Laya.loader.load("http://10.144.1.20:8081/files/ ... ot%3B, Handler.create(this, function (): voi...

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

76. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 91%]

.../ "lib": [],                             /* Specify library files to be included in the compilation. */     // "allowJs": true,                       /* Allow javascript files to be compiled. */     // "checkJs": true,                       /* Report errors...

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

77. LayaAir3D Warning : MyWater must config in CustomShaderConfig File. [ 91%]

...ayaAir引擎 LayaAir3D Warning : MyWater must config in CustomShaderConfig File. 1.在Unity中,自定义一个shader,然后应用到场景中去,用laya导出工具导出场景,会提示 LayaAir3D Warning : MyWater must config in CustomShaderConfig File,同时导出的场景文件中也...

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

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

...ysun 赞同来自: 假如说类似这种的话可以不? <input type="file" id="file" /> <span>上传文件</span> </label> <canvas width="300" height="300" id="canvas"></canvas> </body> <script> $("#file").change(function (){ var file = new FileRead...

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

79. LAYA IDE 设置语言包路径后卡死 [ 91%]

...eError: text.replace is not a function     at Input.__proto.parseLines (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:60001:19)     at Input.__proto.typeset (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:59934:9)     at TimerHandler.Timer.__init$.__prot...

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

80. 版本1.7.14beta , tsconfig.json里 target设置为es6, 项目发布时会报错, [ 91%]

...get,set, 所以用了es6, 发现发布的项目的时候会报错, Files\LayaAirIDE\resources\app\node_modules\uglify-js\lib\parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_Parse_Error (E:\Program Files\LayaAirIDE\resources\app\node_modules\uglify-js\lib\par...

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