/// <summary>
 /// Calculates the overall triangle count of the generated mesh in the scene.
 /// </summary>
 private void CalculateTrianglesCount()
 {
     if (isCovered)
     {
         netTrianglesCount.text = (rowsSlider.value * columnsSlider.value * triangleCount).ToString();
         return;
     }
     if (continuousLine)
     {
         netTrianglesCount.text = (rowsSlider.value * tubeGeneratorNet.GetTriangleCount()).ToString();
     }
     else
     {
         netTrianglesCount.text = (rowsSlider.value * columnsSlider.value * triangleCount).ToString();
     }
 }