I'm working on a unity project and I'm looking to show the range of a certain character.
However, the terrain is generated through a script at run time, and considering that the script uses the same prefab for each tile, any modification made to one prefab affects the others as well.
Hence, I'm looking for a method in which I can independently tweak the settings of each prefab. The unit in question is to shoot a ray-cast to determine which tile it is on, and a script would then modify the colour of the neighboring tiles so as to determine the range of the unit.
Any advice on how to achieve this will be highly appreciated.