- Home /
Button Element inside text
I Am creating a menu for my game and I have added a button to some text that will be my play button but when I run my game, hovering over the button doesn't change the font colour to the one I selected.
any help accepted thanks Jayden
Answer by JScotty · Nov 03, 2016 at 08:24 AM
Set your Color multiplier to 5 and set normal color to the Color you want it to be when not hovered.
(Also in this case, set your navigation at 'None', this will disable the navigation functionality which is not necessary in your case.)
Answer by saschandroid · Nov 03, 2016 at 08:57 AM
Leave everything as it is, except for the Text color. Set the Text color to white. Now the text color will be exactly the color you set for the different states (in your case normal = black, highlighted = white and pressed = light blue).
If you set the text color to a very dark color (or black) even increasing the multiplier value wouldn't help (color x black x multiplier = black).
Your answer
Follow this Question
Related Questions
Button Action Triggering Multiple Times Per Click? 1 Answer
How to make UI buttons so my player can move along certain lines 0 Answers
How to get exact button input 4 Answers
Unity multiple button on click 1 Answer
Menu not getting Keyboard Input 0 Answers