大约有 504 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
..., 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
...打包发布不生效。删除了手机里面的rpk包也不行。 我在main.ts设置了url.basepath,按理说应该是去读的服务器资源,可是我上传到服务器也不生效。 还有rpk包打出来是包含了所有资源,包体太大,oppo那边要求首包8M以内。这个要怎...
来源: Laya_社区 发布时间: 20190528
...mon.glsl"; #include "PBRVertex.glsl"; varying float spriteCustomData; void main() { Vertex vertex; getVertexParams(vertex); PixelParams pixel; initPixelParams(pixel, vertex); gl_Position = getPositionCS(pixel.positionWS); gl_Position = remapPositionZ(gl_Position); spriteCustomData = NodeCustomData0;...
来源: Laya3.0_文档 发布时间: 20251010