大约有 11 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0015 秒)
.../组件被启用后执行 onEnable(): void { this._level = Math.round(Math.random() * 5) + 1; this._text = this.owner.getChildByName("levelTxt") as Laya.Text; this._text.text = this._level + ""; } //每帧更新时执行 onUpdate(): void { //让持续盒子旋转 (this.owner as Laya.Sprite).rotation...
来源: Laya3.0_文档 发布时间: 20251010