I have a tile floor and I want to change the color of single tiles randomly for a few seconds.
This function gets all my tiles laid out and randomly picks one and then changes the material:
I am calling this with a delay in tick:
It works but then the tile color does not change back to its original color. I would like to change the color back to its original after 2 seconds.
Any ideas please are really appreciated, thank you.