How do I change UI button background AND button text on click(pressed)?
I am using ui buttons inside canvas. For e.g. white button with black text. I want that when the button is pressed it becomes black button with white text. Now I can only use one target graphic (either the button image or the text). How do i change both of them?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612060026im_/https://answers.unity.com/themes/thub/images/avi.jpg)