private void OnDrawGizmosSelected()
    {
#if UNITY_EDITOR
        if (Application.isPlaying == false || this.enabled == false)
        {
            return;
        }
        if (_voxelArray == null)
        {
            return;
        }
        foreach (VoxelBound tBound in _voxelArray)
        {
            if (tBound.overlapWithTriangle == true)
            {
                Handles.DrawWireCube(tBound.boundBox.center, tBound.boundBox.half * 2);
            }
        }
        if (showOctree)
        {
            octree.DebugDraw();
        }
#endif
    }
 public void DebugDraw()
 {
     _octree?.DebugDraw();
 }