private bool IsNeighborVisible(Vector3Int position, WorldSide side, Vector3Int size) { var neighborPosition = position + side.ToVector(); if (OutOfBounds(neighborPosition, size)) { return(false); } var neighbor = _chunk[neighborPosition]; return(neighbor.IsVisible); }