namespace BaseGames.Combat { /// /// 直线抛射物。以固定速度沿 Direction 方向飞行,无重力。 /// public class LinearProjectile : Projectile { protected override void OnInitialized() { _rb.velocity = Direction * _config.Speed; } } }