customize dialouge UI

Announcements, support questions, and discussion for Quest Machine.
Post Reply
cyber
Posts: 5
Joined: Wed Jul 10, 2024 3:28 am

customize dialouge UI

Post by cyber »

Hi Sir, Current in dialogue UI all content add as a vertical layout. how can i change this to look like Image
User avatar
Tony Li
Posts: 22001
Joined: Thu Jul 18, 2013 1:27 pm

Re: customize dialouge UI

Post by Tony Li »

Hi,

Your image didn't come through. However, you can remove the Vertical Layout Group and change the layout to look however you want. It's just plain old Unity UI. More info: Grouping and Layout Techniques for UI Components
cyber
Posts: 5
Joined: Wed Jul 10, 2024 3:28 am

Re: customize dialouge UI

Post by cyber »

https://wetransfer.com/downloads/98efbe ... 940/cc6f55 here is the image. I am trying to do with layouts. Should I make different content container or templates?
User avatar
Tony Li
Posts: 22001
Joined: Thu Jul 18, 2013 1:27 pm

Re: customize dialouge UI

Post by Tony Li »

Yes, you can make a subclass of UnityUIQuestLogUI if you want, and use different containers for:
  • Left: Heading Text Template (DELIVERY MISSION) and Body Text Template (I have an urgent request...)
  • Right: Subheading Text Template (OBJECTIVES, MISSION REWARD), icons, and the second body text template that's used (objectives list).
cyber
Posts: 5
Joined: Wed Jul 10, 2024 3:28 am

Re: customize dialouge UI

Post by cyber »

Thank you so much sir, you are amazing.
User avatar
Tony Li
Posts: 22001
Joined: Thu Jul 18, 2013 1:27 pm

Re: customize dialouge UI

Post by Tony Li »

Happy to help!
Post Reply