How to deactivate Scroll Bar

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
rauljl1
Posts: 55
Joined: Fri Apr 15, 2022 7:40 pm

How to deactivate Scroll Bar

Post by rauljl1 »

Hi, Tony. I plan to use few buttons, so I've tried to disable scrolling for responsive buttons, but I can't. :roll:
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to deactivate Scroll Bar

Post by Tony Li »

Hi,

You can either remove the scroll bar from your dialogue UI, or add a UIScrollbarEnabler component to your response menu's Scroll Rect and assign it to the Standard UI Menu Panel component.
User avatar
rauljl1
Posts: 55
Joined: Fri Apr 15, 2022 7:40 pm

Re: How to deactivate Scroll Bar

Post by rauljl1 »

Hi, Tony. Which audio source use the audios on Sequence like AudioWait(some_sound) ?
I have a sound system whic is controlled by a volume system. Currently, the volume slider isn't working because i suppose audios on Sequence are produced with other audio source?
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to deactivate Scroll Bar

Post by Tony Li »

The Audio(), AudioWait(), and Voice() sequencer commands will look for an Audio Source component on the subject. If the subject doesn't have an Audio Source, it will create a default one.

Instead of relying on the sequencer command to create a default Audio Source, add an Audio Source yourself to the subject at design time. This way you can assign its mixer channel for volume control, etc.
User avatar
rauljl1
Posts: 55
Joined: Fri Apr 15, 2022 7:40 pm

Re: How to deactivate Scroll Bar

Post by rauljl1 »

Thanks!
Post Reply