• Keeping the renderers updated and efficient

    Rendering a grid is a three-step process: first we count how many lines we need to render and allocate the space needed, then we compute their end points and finally we send them to Unity to do its thing. In the earliest versions of Grid Framework these three steps had been done every frame. Since arrays in C# are heap objects this would send the garbage collector in overdrive for very large grids.

    Continue reading…