In want to be able to press a UI button and have it change color. I am doing it with script and nothing I’ve tried has worked. In javascript, what is the code that will change the color of a button?
GetComponent(Button).colors.normalColor = Color.green;