Unity 2D level editor performance

I’m working on a tile based 2D level editor, going to be similar to what you can see in Broforce so the full level/terrain will build up from many “squares” (tiles).
I will need to modify these runtime (change sprites, destruct object, etc.)
I started to implement this storing these tiles as prefabs in a two dimensional array, so I can easily grab and modify them runtime. My question: how will it affect performance? Is it safe to do this way or there is a better workaround for this?

This is how the basic implementation looks like: - YouTube

Thanks!

I guess my suggestion here is to make sure you are using the sprite packer that Unity comes with, that way it will save on draw calls it has to do to paint them all.

You should take a look at the game stats which you can find at the top right of the game window in Unity and check in the batches ho much you are saving.

But this usually comes down to doing a quick test to see how your FPS are and also you batch call is.

Another option is to actually generate a sprite based on all of the textures but that can be a bit more complex.