private void DoGrid()
        {
            FastLineRendererProperties props = new FastLineRendererProperties
            {
                Radius = 2.0f
            };
            Bounds gridBounds = new Bounds();

            // *** Note: For a 2D grid, pass a value of true for the fill parameter for optimization purposes ***

            // draw a grid cube without filling
            gridBounds.SetMinMax(new Vector3(-2200.0f, -1000.0f, 1000.0f), new Vector3(-200.0f, 1000.0f, 3000.0f));
            LineRenderer.AppendGrid(props, gridBounds, 250, false);

            // draw a grid cube with filling
            gridBounds.SetMinMax(new Vector3(200.0f, -1000.0f, 1000.0f), new Vector3(2200.0f, 1000.0f, 3000.0f));
            LineRenderer.AppendGrid(props, gridBounds, 250, true);

            // commit the changes
            LineRenderer.Apply();
        }