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

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

1. 启动页设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 100%]

...(居中)- Contain (缩放)- Cover (覆盖)- Fill (拉伸) Duration Integer 5000 显示持续时长,注意此处单位为 毫秒 (ms)。 PositionX Float 0.5 图片中心点的水平位置百分比 (0.0 ~ 1.0)。0.5 为水平居中。 PositionY Float 0.3 图片中心点的垂直位置百分比 (0.0 ...

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

2. 定时器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...没有Laya.timer.runTimer,则5秒后才执行hideImage Laya.timer.loop(5000, this, this.hideImage); //立即执行hideImage Laya.timer.runTimer(this, this.hideImage); } hideImage(): void { console.log("hideImage"); this.Image.visible = false; } } Copyright ©Layabox 2025 all right reserved,power...

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

3. 网络通信 · LayaAir3文档 · LAYABOX [ 20%]

....endian = Laya.Byte.LITTLE_ENDIAN; //写入一个int32数据 by.writeInt32(5000); //写入一个uint16 数据 by.writeUint16(16); //把临时字节数据的数据写入byte中,这里注意写入的是by.buffer; this.byte.writeArrayBuffer(by.buffer); //这里是把字节数组的数据通过socket...

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