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

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

271. 怎么使用引用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

272. 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

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

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

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

274. 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

275. 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

276. 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

277. 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

278. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 73%]

...,资源商店也一般不允许这类插件上架。 在项目的engine/types目录,有三个与编辑器插件开发相关的声明文件,editor.d.ts, editor-ui.d.ts, editor-env.d.ts,他们包含了大量编辑器的扩展API。 editor.d.ts 是编辑器UI进程的API。常用的是全局对...

来源: Laya3.0_文档 发布时间: 20240918

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