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

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

141. laya发布vivo小游戏失败 [ 39%]

...r; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Module._load (internal/modules/cjs/loader.js:841:27) at Function.executeUserEntryPoint [as runMai...

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

142. 淘宝创意互动发布指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 39%]

...的文件格式,需要在这配置 - package.json:项目描述文件 - node_modules/layaengine:导出项目所使用到的 Layaair 引擎。 - pages/index 文件夹: > 导出后,开发者的资源与项目JS,位于的淘宝创意互动的 `pages/index/` 目录下: - game.axml:入口的...

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

143. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 38%]

...ayaAirIDE\ set IDE_APP_DIR=%IDE_DIR%resources\app\ set gulpjs=%IDE_APP_DIR%node_modules\gulp\bin\gulp.js set compilejs=%~dp0.laya\compile.js ::创建一个js文件 echo let app = require("electron").app>compile_temp.js echo let gulp = require('gulp')>>compile_temp.js echo let childprocess =...

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

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

...epresents the structure of the project at runtime. */     "typeRoots": ["node_modules/@types"],                       /* List of folders to include type definitions from. */     // "types": [],                           /* Type declaration files to be included in compil...

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

145. ts加密md5码封装 [ 32%]

... "module": "commonjs", "target": "es6", "sourceMap": true }, "exclude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst |...

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

146. 导入FBX报错 [ 31%]

...tool] [info] Application Directory: C:\Program Files\LayaAirIDE3\resources\node_modules\nativetools\bin\ [2023-06-20 18:19:19.035] [resource_tool] [info] FBX file format version for this FBX SDK is 7.7.0 [2023-06-20 18:19:19.035] [resource_tool] [info] lAbsFolderName: D:\2023_6_20_秘密超市\demo\...

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

147. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 19%]

...装成功了。 安装完成后,可以看到项目目录内多了一个`node_modules`目录,如下图所示。 ![图](img/20-2.png) #### 6.2 编写gulp任务脚本 我们在根目录创建一个gulpfile.js脚本文件,脚本内容参照如下: ```json const {watch ,task } = require("gulp"); ...

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

148. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 9%]

...的StreamingAssets目录结构就可以看出,正常的目录结构需要node_modules,如果没有安装Node环境,目录结构与上图结构不符,预览功能也就无法正常使用。 当然,如果没有安装Node环境就直接预览(Run),插件工具也会提示下载安装Nod...

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