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

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

141. 如果作大型LAYA AS项目,有可能支持module技术么 [ 64%]

...es/classes/src/testA/testA.as module.def里配置如下: module:"module" path:"modules\src\testA",或者改成path:"modules\src",编译后的module.js生成均只有以下内容  (nction(window,document,Laya){     var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__ge...

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

142. 构建andorid工程后,在AndoridStuido中模拟器调试运行出现如下问题,然后打不开APP [ 64%]

...APP Waiting for device. Target device: emulator-5554 Uploading file local path: E:\Laya\shjy3Android\AndroidStudio\Shjy3Android\app\build\outputs\apk\app-debug.apk remote path: /data/local/tmp/com.mygame.Shjy3Android Installing com.mygame.Shjy3Android DEVICE SHELL COMMAND: pm install -r "/data/local...

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

143. ide 2.4 layaair2-cmd 编译报错 [ 63%]

...: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [14:22:35] 'compile' errored after 286 ms [14:22:35] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)     at error (/usr/local...

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

144. laya.net.Loader_API3.0 [ 63%]

...: boolean Returns Promise<any> Promise对象 loadPackage loadPackage(path: string, onProgress?: ProgressCallback): Promise<void> loadPackage(path: string, remoteUrl?: string, onProgress?: ProgressCallback): Promise<void> Defined in laya/net/Loader.ts:899 载入一个分包 path 小...

来源: Laya3.0_api 发布时间: 20231115

145. 使用命名空间遇到的问题 [ 62%]

...你import的时候就会有问题。 ts里官方可以用/// <reference path="A.ts" />来引用到其他文件中的类。 但是laya在编译的时候,并没有把其他文件的ts转换到bundle.js中。导致在运行过程中找不到。 laya只处理了import  {A} from "......" 。这...

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

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

...plicitReturns": true,             /* Report error when not all code paths in function return a value. */     // "noFallthroughCasesInSwitch": true,    /* Report errors for fallthrough cases in switch statement. */     /* Module Resolution Options */     // "moduleResolution": "node",...

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

147. LayaNative 原生发布 APK Oppo R15 奔溃 其他正常 [ 60%]

...java.lang.ClassNotFoundException: Didn't find class "demo.MainActivity" on path: DexPathList[[zip file "/data/app/com.angelport.apptest-Lo_yTvpJWT9iznFcVx-p0w==/base.apk"],nativeLibraryDirectories=[/data/app/com.angelport.apptest-Lo_yTvpJWT9iznFcVx-p0w==/lib/arm64, /data/app/com.angelport.apptest-Lo...

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

148. layaair ide 2.0.0 beta2 读取.lh文件报错 [ 60%]

...    {         "type":"Laya.StandardMaterial",         "path":"Assets/mainRole/archer/fashion/Materials/AJ_PS_Health.lmat"        }       ],       "meshPath":"Assets/mainRole/archer/fashion/jacket_default-AJ_PS_Health.lm"      },      "components":{}, ...

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

149. LayaAir下如何分包? [ 60%]

...上图所示:      module:   分包后的js文件命名      path:    自定义类文件存放的路径      内容写完,Ctrl+S进行保存。将.txt后缀改名为.def后缀。完成 3、点击宏命令Laya_js(参考:环境配置),进行js项目发布,这时候你...

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

150. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 59%]

...,请问怎么把之前的描边重新移 除呢?       import { PathData } from "../data/PathData"; import InsManager from "../manager/InsManager"; import { BlurEffect, BlurMaterial } from "../shader/BlurShader/BlurEffect";  export class CommandBuffer_Outline {      pri...

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