private void MoveRocketIfThrusting() { if (RocketDirection.isThrusting()) { rigidBody.AddRelativeForce(Vector3.up); } }
private void ThrustingSoundeffect() { if (RocketDirection.isThrusting()) { rocketsSoundeffect.StartThrustSoundeffect(); } else { rocketsSoundeffect.StopThrustSoundeffect(); } }