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

大约有 2 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0018 秒)

1. 场景管理 · LayaAir3.0文档 · LAYABOX [ 100%]

...用显示Loading场景 Laya.Scene.showLoadingPage(this.loadingScene); Laya.timer.once(3000,this,()=>{ //3秒后跳转到Game场景 Laya.Scene.open("Game.ls"); }) } } 在打开的场景Scene.ls下,挂上脚本,并拖入Loading.lh作为场景。 (图2-5) 这样就可以使用Loading场景...

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

2. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 63%]

...te rotation: Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); onStart() { Laya.timer.frameLoop(1, this, ()=> { this.cube.transform.rotate(this.rotation, false); }); } } 效果如动图4-4所示: (动图4-4) 4.1.3 3D节点的进阶使用 @property( { type :Laya.Sprite3D } ) //节点类型 public...

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