大约有 171 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0027 秒)
...f (other.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...
来源: Laya3.0_文档 发布时间: 20251010