Hi.
Just to experiment, I decided to see how replace the initial material with another one. I used a Serialized variable to store the second one.
The slightly different code:
Iām sure there is a cleaner way to do this, as the MeshRenderer component seems to be able to store multiple materials But, for now, my DIY works