Hi Folks, just starting into the Unity UI.
I'm making a small project to help learn.
At the moment, I have various objects that I am using a slider to cause effect upon. So for instance I am changing the force, rotating objects, etc.
I'm wondering about using a slider to change the objects colour. How do I access the colour of an object...material?
My approach has been to create functions in a script, then use the inspector to assign functions to the slider.
Any thoughts appreciated.
2h.
I'm making a small project to help learn.
At the moment, I have various objects that I am using a slider to cause effect upon. So for instance I am changing the force, rotating objects, etc.
I'm wondering about using a slider to change the objects colour. How do I access the colour of an object...material?
My approach has been to create functions in a script, then use the inspector to assign functions to the slider.
Any thoughts appreciated.
2h.