Bullet points in the response button

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fl.isabela
Posts: 4
Joined: Sun Jan 20, 2019 7:06 pm

Bullet points in the response button

Post by fl.isabela »

Hi,

I would like to know how to include a bullet-point (image/icon/number) in every response option inside the Response Menu Panel...
I tried to include an image on the left side of the Response Text but it simply did not showed up.

Thanks,
Isabela
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bullet points in the response button

Post by Tony Li »

Hi Isabela,

Here's an example scene:

BulletResponseExample_2019-01-21.unitypackage

It looks like this:

Image

It's overkill because it shows two bullets and a number for each response. The white box is a UI image in the response button. I started with the Basic Standard Dialogue UI and replaced the response button's Vertical Layout Group with a Horizontal Layout Group. Then I added the white box.

To get the small dot and the numbers, I inspected the Standard UI Menu Panel component and enabled Autonumber. Then I added the small dot character to the format string.

Image
fl.isabela
Posts: 4
Joined: Sun Jan 20, 2019 7:06 pm

Re: Bullet points in the response button

Post by fl.isabela »

Wow, that's exactly what i was looking for! Thanks, Tony! ;)
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bullet points in the response button

Post by Tony Li »

Glad to help!
Post Reply