how to make responsible subtitle??

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
boltibm
Posts: 17
Joined: Thu Dec 29, 2022 4:38 am

how to make responsible subtitle??

Post by boltibm »

Hi.
I am not good at English.
Therefore, I will explain it with a screenshot.
산나비선택.png
산나비선택.png (137.39 KiB) Viewed 268 times
Like the screenshot above, I want to create an option to choose between left, right, or up and down arrow keys during conversation.
dialogue.png
dialogue.png (20.84 KiB) Viewed 268 times
I am also attaching a screenshot of the dialog we are producing.
Only the leftmost conversation keeps coming out.
What should I do?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: how to make responsible subtitle??

Post by Tony Li »

Hello,

If you want to show all 4 options like this:

Image

then please see: How To: Map Joystick Buttons to Response Menu

If you want the menu options to appear in the same place (i.e., in the bubble) and you can change which one is visible by using the arrow keys, that is more of a Unity UI question. I still recommend assigning your UI buttons to the Standard UI Menu Panel's Buttons list. Set up navigation so the arrow keys navigate the buttons and scroll the responses up/down/left/right to keep only the currently-selected response in view. If you need help setting up this up in Unity UI, let me know.
boltibm
Posts: 17
Joined: Thu Dec 29, 2022 4:38 am

Re: how to make responsible subtitle??

Post by boltibm »

Thank you,

i read post and guess,,,

1. make 3 UI Panel with text
2. if player use Left/Right Arrow (navigate) -> UI show/ hide, show hide ??

is correct?
i think dialogue system has more effectively function.



main problem is this.
>>
Only the leftmost conversation keeps coming out.


thank you,
and sorry for my lack of english T_T
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: how to make responsible subtitle??

Post by Tony Li »

I understand now. I'll post an example here later today.

Edit: I was delayed. I'll try to post it as soon as I can tomorrow.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: how to make responsible subtitle??

Post by Tony Li »

Hi,

Here's an example scene:

DS_SanabiStyleExample_2024-05-15.unitypackage

Please see the ---README--- GameObject in the scene.
boltibm
Posts: 17
Joined: Thu Dec 29, 2022 4:38 am

Re: how to make responsible subtitle??

Post by boltibm »

Very nice.

thank you~~ ^3^
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: how to make responsible subtitle??

Post by Tony Li »

Glad to help!
Post Reply