Is there a way to change the material at runtime?. I have several prefabs with the same material and I would like to be able to give them a variation once they are instantiated.
I can get the material and create a variant with no problem, but I can't figure out how to set it.
Is there a way to change the material at runtime?. I have several prefabs with the same material and I would like to be able to give them a variation once they are instantiated. I can get the material and create a variant with no problem, but I can't figure out how to set it.