/// <summary> /// Call this function to change the amount of fuel the rocket uses. /// </summary> /// <param name="value">The amount of fuel to use.</param> public void SetFuelAmount(float value) { currentFuelMass = value; rocket.SetFuelMass(value); UpdateBudget(); }