User Interface & Skins

TALK uses a powerful solution for User Interface to display text and sprites during runtime dynamically. It makes it simple to create custom UI Skins.

How to create custom skin

Content Building Workflow

The workflow starts with a Content Stack in the Dialogue Graph. Each of the content nodes creates their Content Data and sends it to the Dialogue Manager.

The Dialogue Manager first creates or opens the UI Manager that the graph requires. Then runs the result parsing methods on the received Content Data. Finally sends the modified data to the UI Manager for displaying.

Once the UI Manager receives Content Data, it iterates through its elements and forwards it to them to further processing if the data has an entry for the elements key.

The UI Elements then process the received data based on their own logic.

UI Element

TALK comes with several UI Elements designed to work with the Unity UI system and with TextMeshPro.

Element

Description

Text

Requires either a Unity UI or TexMeshPro text on the same game object. You can set the text value and color directly too.

Image

Requires an Image component on the same game object.

Button

Requires either a Unity UI or TextMeshPro button on the same game object.

UIElement Container

UIManager ignores the UIElements that are a child of the container and let the container handle the content building.

Answer

This is a UI Element Container. Elements should UI Buttons.

Last updated

Was this helpful?