Should I use a Tilemap?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By codelyoko373

I’m wanting to create a randomly generated map that can be manipulated by the player. Think of it similar to Minecraft where you can destroy blocks and replace them, etc. I’ve attempted to do that with a Tilemap so far but I’ve ran into lots of issues with trying to detect individual blocks. It honestly feels like this approach just isn’t the right one but I just wanted to ask to make sure?

:bust_in_silhouette: Reply From: hilfazer

If you’re going to have thousands of blocks then you should use Tilemaps, otherwise you’ll be suffering from performance problems.

Perhaps this video can help you with your problems: