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

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

1. 预制体模块 · LayaAir3文档 · LAYABOX [ 100%]

...图3-5所示,我们希望把Title预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); ...

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

2. 预制体 · LayaAir3.4 · 引擎文档 · LAYABOX [ 96%]

...图3-5所示,我们希望把Title预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); ...

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