Hi,
For some reason I am really struggling with building the UI I want. It's basically almost exactly what Disco Elysium does, with the added support of multiple NPC avatars.
I've added a rough mockup of what I am looking for.
It seems like I can either (using the examples) get accumulative text (including the player text) to work, or the multiple NPC and separate player panel, but not both.
Right now my main problem (extending the "VN Template") is to create a panel where the text is accumulated. It seems like the players text is not accumulated, only the NPC's text, even though both are pointing to the same subtitle text.
(I am unsure if it matters here, but I am using TextMeshPro UI components. - which also seems to have a problem of truncating the text when I use the TextMeshPro TypeWriter, but that's a lower priority.)
A few problems with Accumulate text
A few problems with Accumulate text
- Attachments
-
- dialogue.jpg (211 KiB) Viewed 370 times
Re: A few problems with Accumulate text
Hi,
Here's an example scene:
DS_MultiNPCScrollingUIExample_2022-02-19.unitypackage
It uses the subclass of StandardUISubtitlePanel provided here. (The subclass script is included in the example package above.)
Here's an example scene:
DS_MultiNPCScrollingUIExample_2022-02-19.unitypackage
It uses the subclass of StandardUISubtitlePanel provided here. (The subclass script is included in the example package above.)
Re: A few problems with Accumulate text
Aha! Thanks a lot for the quick reply and code Tony. World class service!
Re: A few problems with Accumulate text
Glad to help!