Under the UI component, the UI of the game interface can be set, and the interaction between the UI and the scene can be realized.
You can create multiple UI and switch between them as needed.
The UI controls currently available can be divided into two categories: static and interactive.
Static
Includes Text, Images, Progress Bar
Interaction
Includes buttons, sliders, checkboxes, text boxes
| Property | Type | Description |
|---|---|---|
| Name | string | UI name |
| Color | Color | UI background color |
| Transparency | Int | UI Background Transparency |
| Command | Description | Parameter |
|---|---|---|
| Show Toast | Display Toast | 1. text: Toast text |