Esempio n. 1
0
 /// <summary>
 ///     Draws the cost column.
 /// </summary>
 private void DrawCost()
 {
     GUILayout.BeginVertical(GUILayout.Width(110.0f * GuiDisplaySize.Offset));
     GUILayout.Label("COST", titleStyle);
     for (int i = 0; i < stagesLength; ++i)
     {
         stage = stages[i];
         if (showAllStages || stage.deltaV > 0.0)
         {
             GUILayout.Label(Units.Cost(stage.cost, stage.totalCost), infoStyle);
         }
     }
     GUILayout.EndVertical();
 }