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

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

21. TS项目中怎么使用promise [ 76%]

...d, reject: (reason?: any) => void) => void): Promise<T>;     all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6&g...

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

22. ui 打包提供 export 选项 [ 75%]

...提供 export 选项 我们公司使用webpack打包js, 如果layaUI.max.all.js可以是es模块, export每一个ui, 我在自己的js中import, 我没有import的ui, 最终打包时就会tree shake将其剔除掉, 同时也可以自动将layaUI.max.all.js压缩, 这可以减少整个项目js的大...

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

23. 关于bin下js目录,和ui导出 [ 73%]

...改或删除文件,这个怎么解决? 2. ui导出会创建laya.ui.max.all.ts,可以设置分文件打包吗?而这里的module ui是不是就是指文档中分包和分模块开发?   2017-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

24. Uncaught Can not find class EffectAnimation undefined [ 72%]

...ive2.2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c Warning!,this class[MiniAdpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 问题状态 最新...

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

25. 依然存在编译依赖顺序不对的问题 [ 72%]

...一种情况:我自定义了两种页面类型,编译后的LayaUI.max.all.ts最上面是有如下的import语句: import NormalWnd=fantasy.baseUi.NormalWnd import NormalScene=fantasy.baseUi.NormalScene。 但是index.html中js文件顺序是layaUI.max.all.js在前面,需要import的js文件...

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

26. 如何使用javascript版本的加载模式 [ 71%]

...了“加载模式”! 这个时间,会生成2个文件: layaUI.max.all.js ui.json 那我先引用了LayaUI.max.all.js后,再加载ui.json!   Laya.loader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameSce...

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

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

... /* Specify library files to be included in the compilation. */     // "allowJs": true,                       /* Allow javascript files to be compiled. */     // "checkJs": true,                       /* Report errors in .js files. */     // "jsx": "preserve",      ...

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

28. 在 ios xcode接入微信开放平台分享sdk编译出错 [ 70%]

...-stdlib=libc++ -fobjc-arc -fobjc-link-runtime -lconch -lJavaScriptCore -lbmalloc -Objc -ljpeg -all_load -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Intermediates.noindex/ykmj.build/Debug-...

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

29. LayaBox AS3编译总结之FlashDevelop篇 [ 70%]

...FlashDevelop篇 FlashBuilder也可以参考 1、编译参数说明: SaveAllModified RunProcessCaptured|C:\Users\fqny1\Downloads\LayaAirIDE\resources\app\out\vs\layaEditor\laya\libs\1.7.18beta\as\laya.js.exe;"$(ProjectPath)";iflash=false;chromerun=false;quickcompile=false;outlaya=true chromerun 是...

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

30. 发布项目的时候出现TS2663错误,是在UI编辑自动生成的文件里面,是什么原因? [ 68%]

...,是什么原因? 出现了好几处如下错误: src/ui/layaUI.max.all.ts(59,13): error TS2663: Cannot find name 'loadUI'. Did you mean the instance member 'this.loadUI'? 2018-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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