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

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

1. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 100%]

...直观,此时,可以在IDE里直接输入角度值但不保存,仅将转换后的弧度值存起来。示例代码如下: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property({ type: Number }) _radian: number = 0; //带下划线的属性,默认...

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

2. 网络通信 · LayaAir3.0文档 · LAYABOX [ 93%]

... Message.toObject(message: Message , options: ConversionOptions): Object 转换Message对象数据到一组Javascirpt数据。 4.5 代码示例 onAwake(): void { var resPath: string = "assets/res/protobuf/awesome.proto"; // 加载protobuf文件 this.ProtoBuf.load(resPath, this.onAssetsLoaded); } pri...

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

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

...直观,此时,可以在IDE里直接输入角度值但不保存,仅将转换后的弧度值存起来。示例代码如下: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property({ type: Number }) _radian: number = 0; //带下划线的属性,默认...

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