大约有 1 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0011 秒)
...er.label === "buttle") { //碰撞到子弹后,增加积分,播放声音特效 if (this._level > 1) { this._level--; this._text.text = (this._level + ""); owner.getComponent(Laya.RigidBody).setVelocity({ x: 0, y: -10 }); Laya.SoundManager.playSound("resources/sound/hit.wav"); } else { if (owne...
来源: Laya3.0_文档 发布时间: 20251010