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

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

41. Array buffer allocation failed [ 53%]

...ype 'Array' 求助!华为快游戏发布后报错 Unexpected end of JSON input Failed to load: 调试工具正常,真机报错:Request failed Status:0 text( 加载场景失败) HttpRequest在ios系统出现Request failed Status:0 text:,安卓没事 scriptEngine 0xc30edooo loadScriptStrin...

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

42. Array buffer allocation failed [ 52%]

...ype 'Array' 求助!华为快游戏发布后报错 Unexpected end of JSON input Failed to load: 调试工具正常,真机报错:Request failed Status:0 text( 加载场景失败) HttpRequest在ios系统出现Request failed Status:0 text:,安卓没事 scriptEngine 0xc30edooo loadScriptStrin...

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

43. 使用typescript开发项目,解决文件引用顺序问题 [ 51%]

...n-typescript'; import uglify from 'rollup-plugin-uglify'; export default { input: './src/main.ts', output: { file: './bin/js/main.js', format: 'iife' }, plugins: [ typescript(), uglify() ] }在终端输入rollup指令编译代码,把typescript编译成es5并打包成一个文件并压缩rollup -c...

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

44. 运行器在手机上一打开就崩溃 [ 46%]

...pkg android 07-22 15:28:49.418: E/voice(677): voice_is_in_call_rec_stream: input stream is NULL 07-22 15:28:49.419: E/ACDB-LOADER(677): Error: ACDB AudProc vol returned = -19 07-22 15:28:49.419: E/libc(677): Access denied finding property "tas.smartamp.pcm" 07-22 15:28:49.419: E/libc(677): Access de...

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

45. 打包成APK运行一半崩溃 [ 44%]

...11 11:17:11.009    8591-8658/com.mygame.laya I/LayaBox﹕ addevtlistener:input 04-11 11:17:11.009    8591-8658/com.mygame.laya I/LayaBox﹕ >>>>>>>>>>>>>>>>>>>>>addInput 04-11 11:17:11.009    8591-8658/com.mygame.laya I/LayaBox﹕ ...

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

46. 微信小游戏加载资源问题 [ 39%]

...url = null; } } } MiniSound._id = 0; MiniSound._audioCache = {}; class MiniInput { constructor() { } static _createInputElement() { Laya.Input['_initInput'](Laya.Input['area'] = Laya.Browser.createElement("textarea")); Laya.Input['_initInput'](Laya.Input['input'] = Laya.Browser.createEleme...

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

47. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 37%]

...h.join(nodeModulesDir, 'rollup-plugin-glsl')); let cache; const config = { input: projPath + '/src/Main.ts', output: { file: projPath + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: true, }, cache: cache, watch: { include: 'src/**', exclude: 'node_modules/**', }, onwarn: (waring, war...

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

48. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 34%]

...wait gui.UIPackage.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改变了!"); }) } } 四、程序化生成界面 4.1 常用方法 除了使用UI编辑器制作界面...

来源: Laya3.0_文档 发布时间: 20240918

49. 如何使用vscode编译laya项目 [ 34%]

...s里的变量 workSpaceDir = global.workSpaceDir; } return rollup.rollup({ input: workSpaceDir + '/src/Main.ts', onwarn:(waring,warn)=>{ if(waring.code == "CIRCULAR_DEPENDENCY"){ console.log("warnning Circular dependency:"); console.log(waring); } }, treeshake: false, //建议忽略 plugins: [ ty...

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

50. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 32%]

...组件设置位图字体 我们分别在场景中创建Text、Label、TextInput,三个组件, 这几个文本组件,正常情况下都是使用的是系统字体,由于我们已在IDE里注册了位图字体,所以就可以直接为这几个组件设置位图字体。 分别点击场景中...

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