private void Update() { speed.text = (Mathf.RoundToInt(maneuvers.GetCurrentSpeed()) * 10).ToString(); dist.text = (Mathf.RoundToInt(Vector3.Distance(ship.position, earth.position)) * 10).ToString(); }