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

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

141. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 49%]

...ean = true): void 同样,我们在3D-RPG项目中,通过鼠标点击来切换所见区域,代码如下: //CameraControll.ts类脚本中,添加3个节点对象,把3个不同房子建筑拖入到属性中 @property( { type: Laya.Sprite3D } ) public target1: Laya.Sprite3D; @property({ ty...

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

142. 针对2.0.0 beta5 setLoadingPage 做增强 [ 48%]

...() this.getChildByName('text').on(Laya.Event.CLICK, this, function () { // 切换打开场景方式 查看效果不同 loadPage.openScene('page2.scene', this.getUserInfo, true, [1, 2, 3]) // loadPage.openScene2('page2.scene', this.getUserInfo, true, [1, 2, 3]) }) } /** * 获取用户信息需要5s...

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