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

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

461. AI编码环境:CodingMCP · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...函数结构固定,禁止修改: ```typescript export async function main() { /* 正式初始化逻辑 */ } ``` ❌ 禁止提交测试代码到 `main` 函数 --- ## 版本与 API 查询 - 查询 API 时附加 `<LAYA_VERSION>` 版本号 - 迁移时对比 `<LAYA_PRE_VERSION>` → `<...

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

462. mac 下翻译出来的顺序问题 [ 50%]

...})() 翻译出来的这个定义在使用的后面,找不到_createArray main.max.js:87365 Uncaught TypeError: Cannot read property '_createArray' of undefined 2017-11-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

463. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 50%]

..., false) Laya.stage.addChild(pNewScene); Util3d.getChildByPath(pNewScene, "Main Camera").active = false; let pBull = <Laya.Sprite3D>Util3d.getRes(this.sBullRes) let pEnemy = <Laya.Sprite3D>Util3d.getRes(this.sEnemyRes) pNewScene.addChild(pBull); pNewScene.addChild(pEnemy); let tPosBull =...

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

464. [LayaAir3]【3.3.3】安卓与ios原生在声音播完后错误弹窗 [ 50%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致...

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

465. 使用HttpRequest向外部链接请求ip所在省份时,遇到 No 'Access-Control-Allow-Origin' header错误 [ 50%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 使用钢体设置防穿后仍有几率会...

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

466. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 50%]

...estPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is not defined 之前有人提过这个问题,但是一直都没有解答,也有人说要先注册class,但是也是没用的。    附件 : --> 2021-01-11 添加评论 免费帖...

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

467. [LayaAir3]Pool对象池获取继承对象时会返回基类对象 [ 50%]

...基类对象 const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { onStart() { let item1 = Laya.Pool.createByClass(TestClass); console.log('item1:', item1.type); Laya.Pool.recoverByClass(item1); let item2 = Laya.Pool.createByClass(TestClass2); console.log('item2:',...

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

468. JavaScript heap out of memory,ide编译不了代码 [ 50%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 ide 2.4 layaair2-cmd 编译报错 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 预设怎么在代码中使用 版本...

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

469. 为什么会出现报错 ani not found:ufo1_down [ 49%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 谷歌浏览器播...

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

470. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 49%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 加载到舞台的3D模型不显示贴图 求问shader中的attribute变量怎么动态修改 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 预设怎...

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