I'm using unity3d, I have a prefab of a sphere and another of a cube, with a simple material, and I'd like to know how I can change the material of those objects by clicking a button on UI
.
I'm using unity3d, I have a prefab of a sphere and another of a cube, with a simple material, and I'd like to know how I can change the material of those objects by clicking a button on UI
.