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

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

341. 关于3D动画的ani监听播放完毕后,播放默认动画不行 [ 72%]

... was not allowed to start. 骨骼动画播放完后的回调时间 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 关于龙骨动画转换 H5动画和节奏...

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

342. 当使用代码创建打开场景时,onOpened触发了,但场景active和activeInHierarchy还是处于false,请问纯代码怎么实现场景创建激活,谢谢 [ 72%]

...态,请问纯代码怎么实现场景创建激活,谢谢?   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

343. Uncaught TypeError: Cannot read property '_tf' of null [ 72%]

...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

344. 2D方向光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...; // 例如,设置在屏幕左上角 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

345. 三个手指并排点击屏幕卡死 [ 72%]

...现,QQ小游戏没事。 官方3D示例,不会卡死。   还有IOS Scene3D切换过程中乱点屏幕 end undefined     __proto.remove=function(element){         var index=element._getIndexInList();         this.length--;         if (index!==this.length){      ...

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

346. 获取不到父物体 节点 [ 72%]

...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

347. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 72%]

... { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.li...

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

348. Laya场景编辑时加入的Graphics组件,代码中该如何获取? [ 71%]

...码来声明、获取: private backBtn: Laya.Button; this.backBtn = this.scene.getChildByName('backBtn') as Laya.Button;但这个Rect就不知道是什么类型的了,试了下Laya.Rect/Laya.Graphics.Rect之类的,都没有这个类。     附件 : --> 2019-10-22 1 条评论 免费帖 --> ...

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

349. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...的2的N次幂原则。 3.1.2 创建Sprite3D,添加3D UI组件 在IDE的Scene3D节点下,创建一个Sprite3D对象,添加3D UI组件,操作可参考2.1节。 可以看到,当添加3D UI组件后,场景中在Sprite3D节点的位置,多了一个显示的纹理(黑色),如图3-2所...

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

350. 垂直布局容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...度自适应模式如图1-7所示。 (图1-7) 1.3 脚本控制VBox 在Scene2D的属性设置面板中,增加一个自定义组件脚本。然后,将VBox拖入到其暴露的属性入口中,由于只有一个VBox无法查看效果,所以开发者可以在VBox下添加一些子节点。示...

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