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

Announcements, support questions, and discussion for the Dialogue System.
willoneill
Posts: 18
Joined: Sun Oct 25, 2015 4:06 pm

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

Post 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!
willoneill
Posts: 18
Joined: Sun Oct 25, 2015 4:06 pm

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

Post 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!
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
willoneill
Posts: 18
Joined: Sun Oct 25, 2015 4:06 pm

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

Post 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?
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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?
willoneill
Posts: 18
Joined: Sun Oct 25, 2015 4:06 pm

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

Post by willoneill »

Sent! Please let me know if you don't receive.
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Got it, thanks! I replied to your email.
willoneill
Posts: 18
Joined: Sun Oct 25, 2015 4:06 pm

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

Post by willoneill »

And you've already responded with a perfect fix!

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

Thanks again!
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
Post Reply