public void AddLine(StandardLine line)
        {
            if (_lines.ContainsKey(line.ID))
            {
                LineChanged(line, false);
                return;
            }
            var color     = line.GetColor();
            var lineverts = CreateDecorationLine(line, color);
            int start     = _linebuffer.AddLine(lineverts);

            _lines.Add(line.ID, start);
        }
        private void AddLine(
            GameLine line,
            LineRenderer renderer,
            Dictionary <int, int> lookup)
        {
            if (lookup.ContainsKey(line.ID))
            {
                LineChanged(line, renderer, lookup, false);
                return;
            }
            var lineverts = GenerateLine(line, false);
            int start     = renderer.AddLine(lineverts);

            lookup.Add(line.ID, start);
        }