I am making a game that looks similar to Rimworld (top-down colony simulator) for a college project and I procedurally generate my terrain using perlin noise, then for each tile in the map I use SetTile() to populate the map with walkable terrain.
However, I am unsure of how to deal with spawning (or instantiating) objects like rocks, trees, or any other object that might be interactable with the characters walking around the map.
Is there a better (more performant or more intuitive) way of generating trees on some tiles, instead of using Instantiate(), which just fills up my entire hierarchy with tree prefabs, unlike my tilemap?
And if a character were to go chop those trees, does every tree need to have a script attached to it, or is it enough to just have a character check if that's a tree that he collided with to start chopping it?