Dialogue For Split Screen Using a Gamepad

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue For Split Screen Using a Gamepad

Post by Tony Li »

Hi,

That file wasn't carried over when our website was redesigned. I'm pretty sure it used TPC v2, so it wouldn't work with the current TPC v3. Are there any specific questions I can help you with?
limepeel
Posts: 2
Joined: Sat Jun 08, 2024 1:29 am

Re: Dialogue For Split Screen Using a Gamepad

Post by limepeel »

I am trying to implement split screen dialogue. I think I am okay from a code perspective by following the logic in the thread, but was looking to have an example of how you implemented the UI to line up the dialogue with the response of the buttons. I’m not really sure how to get everything to line up without using vertical layout like the current prefab.

The ui like pictures in this link.

https://www.pixelcrushers.com/phpbb/dow ... hp?id=1922
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue For Split Screen Using a Gamepad

Post by Tony Li »

Menu panels have two ways of showing response menu buttons:

1. They can instantiate copies of the response button template into a container (typically a Vertical Layout Group). In the StandardUIMenuPanel component, it uses the Button Template and Button Template Holder fields.

2. Or they can use predefined buttons assigned to the Buttons list.

That example's dialogue UI prefab uses 4 buttons assigned to the Buttons list. Each button has a specific place in the UI. They're not instantiated at runtime.
Post Reply