大约有 874 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(573) Laya2.0_文档(114) Laya3.0_api(79) Laya3.0_文档(74) Laya_示例(31) Laya2.0_api(2) laya_api(1)
...t read property 'displayObject' of null 运行报错 Uncaught Can not find scene:GameView.scene undefined laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bounds 'releaseTexture' of null TiledMap通过名字获得MapLayer怎么都是Null 问题状态 最...
来源: Laya_社区 发布时间: 20161216
...复下 2019-05-01 1 0 分享 微博 QZONE 微信 Zong 赞同来自: Laya.Scene3D.load("LayaScene_scene1/Conventional/scene1.ls", Laya.Handler.create(this, function (s: Laya.Scene3D): void { var scene = s; Laya.stage.addChild(scene); })); 加载代码 2019-03-13 0 0 分享 微博 Q...
来源: Laya_社区 发布时间: 20190313
...现,QQ小游戏没事。 官方3D示例,不会卡死。 还有IOS Scene3D切换过程中乱点屏幕 end undefined __proto.remove=function(element){ var index=element._getIndexInList(); this.length--; if (index!==this.length){ ...
来源: Laya_社区 发布时间: 20190820
...下的某个场景json文件。。竟然无法自动生成了? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2.0加载3d场景报错Uncaught TypeError: Cannot read proper...
来源: Laya_社区 发布时间: 20170803
....layabox.com/demo2/?language=zh&category=3d&group=Advance&name=Scene2DPlayer3D 2022-12-03 0 1 分享 微博 QZONE 微信 layabox小高 赞同来自: 2.13下scene3D和scene2D属于同一个节点下,所以新场景会覆盖到scene2D场景,需要注意一下层级问题。 2022-11-...
来源: Laya_社区 发布时间: 20221130
...; // 例如,设置在屏幕左上角 this.displayText.y = 10; this.owner.scene.addChild(this.displayText); // 在场景中添加文本显示 } onUpdate(): void { // 更新时间 this.dayTime = (this.dayTime + Laya.timer.delta / 1000) % this.dayDuration; const totalMinutes = Math.floor((this.getAdj...
来源: Laya3.0_文档 发布时间: 20251010
...ombie.lh", Laya.Handler.create(this, function(zombie:Laya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sprite3D).getComponent(Laya.Animator) as Laya.Animator;//获取Animator动画组件 this.zombieAnimator.on(Laya.Event.COMPLETE, this, this.onAniCompl...
来源: Laya_社区 发布时间: 20190507
...态,请问纯代码怎么实现场景创建激活,谢谢? const scene = new Laya.Scene(); scene.onOpened = () => { console.log('scene onOpened'); }; scene.open(); console.log('scene', scene.active, scene.activeInHierarchy); Laya.timer.frameOnce(10, this, () => { console.log('scene ...
来源: Laya_社区 发布时间: 20190218
...eta 新手小白 不明白为什么都是null 的export default class startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log(this.pare...
来源: Laya_社区 发布时间: 20190904
...的2的N次幂原则。 3.1.2 创建Sprite3D,添加3D UI组件 在IDE的Scene3D节点下,创建一个Sprite3D对象,添加3D UI组件,操作可参考2.1节。 可以看到,当添加3D UI组件后,场景中在Sprite3D节点的位置,多了一个显示的纹理(黑色),如图3-2所...
来源: Laya3.0_文档 发布时间: 20251010