public Line GetLine(LineProperty lineProperty)
        {
            GameObject lineGameObject = GameObject.Instantiate(linePrefab);
            Line       line           = lineGameObject.GetComponent <Line>();

            line.UpdateLineRenderer(lineProperty);

            return(line);
        }
        public void UpdateLineRenderer(LineProperty lineProperty)
        {
            this.lineProperty = lineProperty;

            lineRenderer.startWidth    = lineProperty.LineWidth;
            lineRenderer.endWidth      = lineProperty.LineWidth;
            lineRenderer.startColor    = (lineProperty.LineColor);
            lineRenderer.endColor      = (lineProperty.LineColor);
            lineRenderer.useWorldSpace = lineProperty.UseWorldSpace;
        }