Example #1
0
 //Optionally Draw Tree in the Editor
 void OnDrawGizmos()
 {
     if (octree)
     {
         octree.DrawVoxelGrid(Color.black);
     }
 }
 //Draw the Grid after this camera has drawn everything else
 void OnPostRender()
 {
     VoxelGrid.DrawVoxelGrid(Color.black);
 }