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

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

361. layaair2-cmd compile 一直报错loader.js:638 throw err; [ 64%]

...:692:17)     at require (internal/modules/cjs/helpers.js:25:18)     at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\vinyl\index.js:12:25)     at Module._compile (internal/modules/cjs/loader.js:778:30)     at Object.Module._extens...

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

362. 微信小游戏想使用截图功能是使用canvasToTempFilePath()吗 [ 64%]

...回文件路径。 */ export function canvasToTempFilePath( this: string, object: _canvasToTempFilePathObject ): void; 这是wx.d.ts里写的 我看文档说用这个获取分享用 再问下 微信中的Canvas在laya中如何获取啊 ? A • 2018-11-29 11:41 @柒汐夜:我看以前文档是 let ...

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

363. laya.net.URL [ 64%]

...LProperties | Methods Packagelaya.netClasspublic class URLInheritanceURL Object URL 提供URL格式化,URL版本管理的类。 引擎加载资源的时候,会自动调用formatURL函数格式化URL路径 通过basePath属性可以设置网络基础路径 通过设置customFormat函数,可...

来源: Laya2.0_api 发布时间: 20190513

364. laya.d3.terrain.TerrainChunk [ 64%]

...nkInheritanceTerrainChunk RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainChunk 类用于创建地块。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Bool...

来源: Laya2.0_api 发布时间: 20190513

365. 2.5.0无法打包oppo的rpk [ 64%]

...:637:17)     at require (internal/modules/cjs/helpers.js:20:18)     at Object.<anonymous> (D:\LayaGame\LayaAirIDE2.5.0\resources\app\out\layarepublic\oppo\quickgame-toolkit\lib\commands\cocos_v2.js:85:16)     at Module._compile (internal/modules/cjs/loader.js:689:30)     at Object.Modu...

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

366. LayaAir 寻路库,寻路路径错误 [ 64%]

...------------------------var arr:Array = [[0,1,1],[0,1,1],[0,0,0]]; var opt:Object = {allowDiagonal: true, dontCrossCorners: false, heuristic: Heuristic["manhattan"], weight: 1}; var astart1:AStarFinder = new AStarFinder(opt); var grid:Grid = new Grid(arr, 3); var path:Array = astart1.findPath(0, 0, ...

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

367. 微信的缓存引擎只支持了图片和声音,其他lh,lm等文件自动缓存时都不支持是缓存的时候有什么问题和难点吗? [ 64%]

...   */         public static function getFileInfo(fileUrl:String):Object {             return MiniFileMgr.getFileInfo(fileUrl);         }                  /**          * 获取缓存文件列表          * @return          */   ...

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

368. 将字节数组转为图片 [ 64%]

...      byte.writeArrayBuffer(buffer, 4);             var blob:Object = new Browser.window.Blob([byte.buffer], { type:"image/png" } );             var url:String = Browser.window.URL.createObjectURL(blob);             var sp:Sprite = new Sprite();             sp...

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

369. Unity2.10.0beta插件报错 [ 64%]

Unity2.10.0beta插件报错 NullReferenceException: Object reference not set to an instance of an object o.c (UnityEngine.GameObject A_0) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.k (UnityEngine.GameObject A_0, c A_1) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.a (UnityEngine.GameObje...

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

370. 发布项目“是否压缩混淆js(耗时)”的bug [ 64%]

...5\AppData\Roaming\npm\node_modules\uglify-js\bin\uglify js:233:9)     at Object.<anonymous> (C:\Users\fp005\AppData\Roaming\npm\node_modules\uglif y-js\bin\uglifyjs:158:5)     at Module._compile (module.js:643:30)     at Object.Module._extensions..js (module.js:654:10)     at Module.lo...

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