Theme
Every UI Toolkit panel of the SDK is drawn with one theme it asks the theme for a role (surface, text, action…), so the application can restyle a whole environment by changing the colour of a role. The panels, the toasts and popups and the SDK's other UI Toolkit panels all read it.
UI panels
The SDK ships a set of UI Toolkit panels for environments: a text panel with buttons, a list, a check mark, a label, a choice, a HUD, and the host of toasts and popups. They are scene prefabs, in Packages > Virtuademy-SDK-Environments > Common > Prefabs > UI > Toolkit. They wear the Virtuademy theme, so they follow the tenant's colours, and every text takes a localization key.
Toasts and popups
A toast is a short message that appears over the world and goes away by itself. A popup is a modal question with up to three buttons, which reports the button the user pressed. Scripts and graphs ask for them, and the application draws them in the Virtuademy theme: there is nothing to place in the scene.
Safe frame and reserved screen zones
On a screen, the application draws its own interface over the scene it insets one element of a UI Toolkit panel to what is left.
Texts and languages
The texts of an environment come from its Localization File, a CSV that you upload with the environment (its format is in The Localization File). Every text is a key; the file holds the translation of the key in each language. This page is about the texts of your own UI: the panels, the toasts and popups, and what a script shows.
The tutorial and the tablet
The application has two panels of its own that cover a part of the view and want the user's attention: the tutorial (the help panel) and the tablet. An environment can tell when each is open, to keep its own panels out of the way or to wait.