As you can see below, the 1st response button 'Ignore Abel' Is white, because it is In a selected state.
I don't want this. It doesn't matter how many times I mouse over it or the other buttons (should turn blue), the top one stays in the selected state. It only changes color on mouse press (to green).
I'm currently using 'Color tint' to change the buttons states, but I've tried using animation states as well with no sucess.
I've tried setting the Navigation of the buttons from Automatic to 'none', that removed all mouse states altogether.
Any way to have Unity/DS bypass this annoying selected state?
Avoid 'selected' state on response button?
-
- Posts: 15
- Joined: Thu Dec 16, 2021 2:09 pm
Re: Avoid 'selected' state on response button?
Hi,
Try this:
1. UNtick the Dialogue Manager GameObject's Input Device Manager component > Always Auto Focus.
2. Add DeselectPreviousOnPointerEnter components to your response button(s) if they don't already have them.
Try this:
1. UNtick the Dialogue Manager GameObject's Input Device Manager component > Always Auto Focus.
2. Add DeselectPreviousOnPointerEnter components to your response button(s) if they don't already have them.
-
- Posts: 15
- Joined: Thu Dec 16, 2021 2:09 pm
Re: Avoid 'selected' state on response button?
1. Seemed to have done the trick!
Thanks!
Thanks!
Re: Avoid 'selected' state on response button?
Glad to help! I recommend step 2 also if you haven't already done it. Otherwise if one button is selected and you hover the mouse over another button, both buttons will appear in the selected/highlighted state.