大约有 507 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
...函数结构固定,禁止修改: ```typescript export async function main() { /* 正式初始化逻辑 */ } ``` ❌ 禁止提交测试代码到 `main` 函数 --- ## 版本与 API 查询 - 查询 API 时附加 `<LAYA_VERSION>` 版本号 - 迁移时对比 `<LAYA_PRE_VERSION>` → `<...
来源: Laya3.0_文档 发布时间: 20260128
...})() 翻译出来的这个定义在使用的后面,找不到_createArray main.max.js:87365 Uncaught TypeError: Cannot read property '_createArray' of undefined 2017-11-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20171104
..., 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
...动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
...动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
...estPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is not defined 之前有人提过这个问题,但是一直都没有解答,也有人说要先注册class,但是也是没用的。 附件 : --> 2021-01-11 添加评论 免费帖...
来源: Laya_社区 发布时间: 20210111
...基类对象 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
...动chrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 ide 2.4 layaair2-cmd 编译报错 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 预设怎么在代码中使用 版本...
来源: Laya_社区 发布时间: 20191225
...动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
...动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