大约有 2 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0012 秒)
...拟加载演示效果 changeProgress(): void { this.progressBar.value += 0.05; //每次进度条的改变量 if (this.progressBar.value == 1) { this.loadText.text = "资源加载完成"; Laya.timer.clear(this, this.changeProgress); } } } 效果如下: (动图1-6) 二、通过代码创建Progre...
来源: Laya3.0_文档 发布时间: 20251010
...alse; //移动向量,速度与方向,向X轴正方向移动,速度为0.05 private moveVector: Laya.Vector3 = new Laya.Vector3(0.05, 0, 0); onAwake(): void { // 获取 角色控制器 组件并赋值给 characterController this.characterController = this.owner.getComponent(Laya.CharacterControl...
来源: Laya3.0_文档 发布时间: 20251010