I’ve googled and found a multitude of forums discussing this topic but nothing that satisfied what I need to do.
My situation: My game has a store where you can unlock aesthetic changes to the objects that are procedurally generated in the scene. These aesthetic changes are stored as materials. How can I use C# to change the non-instantiated prefab’s material?