bool IsTilemapChunksVisible() { TilemapChunk chunk = m_tilemap.GetComponentInChildren <TilemapChunk>(); return(chunk && (chunk.gameObject.hideFlags & HideFlags.HideInHierarchy) == 0); }