A small Button (Script) change in Unity 2019

I am re-taking this course using Unity 2019.2.17f1.

One small difference I’ve encountered is that in 2019, and extra option called Selected Color was added to the Button (Script) between Pressed Color and Disabled Color. I only discovered this when in the Play window the clicked button would highlight white.

While a minor inconvenience, the easy solution (for me) was to set the Selected Color to the same as the pressed color. However, is there a way to disable the Selected Color option entirely (without loads of script)?

Hi,

Set the Navigation to “None” in the Button component. Then the “selected” colour will get ignored.

5 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms