大约有 876 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(574) Laya2.0_文档(114) Laya3.0_api(79) Laya3.0_文档(75) Laya_示例(31) Laya2.0_api(2) laya_api(1)
....0 JS调用Java PlatformClass undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read property 'props' of undefined 今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined 发布到微信小游戏提示Cannot read pro...
来源: Laya_社区 发布时间: 20190904
...滚屏,使得新添加的元素始终保持在最底部显示? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 动画混合无效(...
来源: Laya_社区 发布时间: 20171110
... 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 3d场景单材质单模型Cu...
来源: Laya_社区 发布时间: 20181012
...T_HEIGHT, false); //添加3D场景 var scene:LayaScene = LayaScene.load("res/scene/Arena/Arena.ls"); Laya.stage.addChild(scene); // Log.Info("Procedure::setup"); // this.InitGameManager(); } 2017-08...
来源: Laya_社区 发布时间: 20170802
射线一直无法获取物体 添加物体: var qb_pet = scene.addChild(Laya.Sprite3D.load("./test.lh")); qb_pet.once(Laya.Event.HIERARCHY_LOADED, this, function(){ qb_pet.addComponent(Laya.SphereCollider); }); 设置射线: Laya.timer.frameLoop(1, null,...
来源: Laya_社区 发布时间: 20170915
...建了一个平面。如图1所示。 ```typescript //平面 var plane = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); //新建材质 var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(thi...
来源: Laya2.0_文档 发布时间: 20210714
...*949 • 2018-07-26 11:23 create是有问题吗,改成sprite3d.load或者Scene.load的话,项目改动会比较大 188*****949 • 2018-07-26 11:26 再说sprite3d.load调用的不是create? Laya_Aaron • 2018-07-26 11:27 Laya.loader.create(url, null, null, Sprite3D); 188*****949 • 2018-07-2...
来源: Laya_社区 发布时间: 20180725
...到舞台的3D模型不显示贴图 Animation如何加点击事件 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 关于遍历产生的s...
来源: Laya_社区 发布时间: 20170711
...aught (in promise) DOMException: play() 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错...
来源: Laya_社区 发布时间: 20180308
...域节点: 我们也可以通过脚本创建开放数据域节点,在Scene2D节点上添加一个自定义组件脚本,脚本内容如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); }...
来源: Laya3.0_文档 发布时间: 20251010