Page 2 of 2

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Wed Feb 12, 2025 7:12 pm
by willoneill
Tony Li wrote: Wed Jan 29, 2025 4:28 pmGlad to help!
Hey Tony! So sorry to dredge this thread up once again, have realized another small issue with it that I can't quite figure out.

Here's a video for reference, but I'll admit that it's tough to understand as I'm not able to record my mouse cursor for some reason:



So, in a nutshell, the problem is with the 'CONTINUE' button. When the dialogue starts, I can hover over the button and it highlights as it is supposed to via definition in the Button component. Clicking it works as expected, and it advances the next line.

However, at this point the hovering highlight no longer works. To get it to work again, I now have to click on a part of the screen that isn't the button - it seems like anywhere works, not just the panel - at which point I can now hover over it and it goes back to highlighting the way it's supposed to.

Strangely, even without clicking somewhere else and getting the highlight back, clicking on the button *does* continue to work, so this seems like a purely cosmetic issue. But it's a weird one. It's almost like the cursor/focus slips off of the UI until you click somewhere to remind it that it's supposed to be focused on the UI?

Let me know if you have any idea what might be going on here, thanks!

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Wed Feb 12, 2025 7:30 pm
by willoneill
Also, I've just found something that might be a hint:



When I hit the CONTINUE button, the Event System indicates it as being selected - but it doesn't let that state go after the button is pressed. Only when I click somewhere else does the selection go away, at which point the button can be hovered over again.

So, basically, is there a way to have the CONTINUE button only be 'selected' when it's actually being used, and then let it go?

I'm on Unity 6.000.0.27f1 if that matters!

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Wed Feb 12, 2025 7:40 pm
by Tony Li
Hi,

Here are some things to try:

1. If your continue button has a StandardUIContinueButtonFastForward component, tick Hide Continue Button On Continue. This will force the button to be deselected.

2. Tick the Dialogue Manager's Input Device Manager component > Always Auto Focus.

3. Add a Deselect Previous On Pointer Enter component to the continue button.

4. Double-check the Transition settings on the Continue button.

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Sun Feb 16, 2025 3:51 pm
by willoneill
Tony Li wrote: Wed Feb 12, 2025 7:40 pm Hi,

Here are some things to try:

1. If your continue button has a StandardUIContinueButtonFastForward component, tick Hide Continue Button On Continue. This will force the button to be deselected.

2. Tick the Dialogue Manager's Input Device Manager component > Always Auto Focus.

3. Add a Deselect Previous On Pointer Enter component to the continue button.

4. Double-check the Transition settings on the Continue button.
Gave all four of these a shot, but unfortunately none of them had any effect! Wondered if maybe the Adventure Creator Bridge had something to do with it, but I don't think so. I made a scene with all default stuff and no AC Bridge, it was still an issue - it's stuck in 'Selected' status on the Color Tint until I click elsewhere on the screen here as well:



Any other thoughts? Could this just be some sort of general bug?

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Sun Feb 16, 2025 8:15 pm
by Tony Li
Hi,

Does your continue button have a StandardUIContinueButtonFastForward component? If so, it's strange that Hide Continue Button On Continue wouldn't deselect it. Can you send a reproduction project to tony (at) pixelcrushers.com?

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Mon Feb 17, 2025 1:13 pm
by willoneill
Sent! Please let me know if you don't receive.

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Mon Feb 17, 2025 2:04 pm
by Tony Li
Got it, thanks! I replied to your email.

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Mon Feb 17, 2025 2:50 pm
by willoneill
And you've already responded with a perfect fix!

Dialogue System is the best, everybody - accept no substitutes.

Thanks again!

Re: [HOWTO] How To: Color Actor Name and Indent Text

Posted: Mon Feb 17, 2025 3:14 pm
by Tony Li
Glad to help!

Turns out the Input System package keeps the EventSystem's current selection even if it gets deactivated. The next DS update will handle it by resetting the current selection when you click the continue button -- but make sure to tick the continue button's StandardUIContinueButtonFastForward component's Hide Continue Button On Click checkbox.