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

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

271. 微信小游戏加载资源问题 [ 75%]

...8", callBack = null, readyUrl = "", isSaveFile = false, fileType = "") { var fileUrl; if (readyUrl != "" && MiniFileMgr.isHttpPath(readyUrl)) { fileUrl = MiniFileMgr.getFileNativePath(filePath); } else { fileUrl = filePath; } fileUrl = Laya.URL.getAdptedFil...

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

272. 怎么使用引用node_modules里的axios来封装 [ 75%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 layaAir TS项目如何引用protoBuf库? 求高人分享使用protobuff...

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

273. laya.loaders.HierarchyParser_API3.0 [ 74%]

...llectResourceLinks parse errorList Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

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

274. Error: unknown type 'HTMLDivElement' [ 73%]

Error: unknown type 'HTMLDivElement' Laya.HTMLDivElement 报错,运行不显示。 附件 : --> 2023-01-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox小高 赞同来自: 您好,按下图所示将l...

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

275. laya2.0 中的publish.js如何使用 [ 73%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 请问2.0的版本开始,我用ts编写的相关内容,都要使用impo...

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

276. laya.ui.CheckBox_API3.0 [ 73%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Implementation of ISelect.name Inherited ...

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

277. layacmd 报错 [ 73%]

...ome/wujian/snake/laya/.laya', 'clear=true', 'releasemode=normal' ] stdout: type: Linux stderr: path.js:7 throw new TypeError('Path must be a string. Received ' + inspect(path)); ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Fun...

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

278. mac安装typescript的问题 [ 73%]

mac安装typescript的问题 跑npm install -g typescript  npm ERR! tar.unpack untar error /Users/jeffchang/.npm/typescript/1.8.10/package.tgz npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "typescript" npm ERR! node v4.4.1 npm ERR! npm v2.14.20 npm ...

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

279. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 73%]

...的引入改成相对路劲,就报其他的路径找不到。 出错了: TypeScript error: node_modules/@types/node/index.d.ts(50,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found.   现在把protobufjs放到Laya IDE的安装目录下的node_modules下面。可以编译通过...

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

280. 项目发布问题 [ 73%]

...e',   'releasemode=normal',   'exportUICode=true',   'exportRes=true' ] type: Darwin appPath: /usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/ openProject: /Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya loadProject: /Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya assetsP...

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