Position dialog relative to character

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
kyuubi
Posts: 52
Joined: Fri May 27, 2016 11:30 pm

Position dialog relative to character

Post by kyuubi »

Hi,
Similarly to how old school adventures did it, I wanted to place the dialogs in relative position to who is speaking.
Is this achievable through DS?
Cheers,
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Position dialog relative to character

Post by Tony Li »

Yes, use a world space dialogue UI. There's an example scene in Assets/Dialogue System/Examples/Unity UI Examples:

Image

Using world space dialogue UIs is the easiest way, but if for some reason you don't want to use them, you can position your UI elements manually. To do this, add a script to the Dialogue Manager or the character that contains an OnConversationLinemethod. In this method, position the UI elements.
User avatar
kyuubi
Posts: 52
Joined: Fri May 27, 2016 11:30 pm

Re: Position dialog relative to character

Post by kyuubi »

Hi Tony,

Thank you for the feedback, will try this out!

Cheers,
Post Reply