Introduction

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

Part 1: Basic Operations and Introduction

Part1.mp4

Part 2: UI Switching Function Demonstration

Part2.mp4

Property

Property Type Description
Name string UI name
Color Color UI background color
Transparency Int UI Background Transparency

Command

Command Description Parameter
Show Toast Display Toast 1. text: Toast text
  1. duration: Toast duration | | Send Broadcast | Send broadcast | 1. broadcast: the broadcast to be sent |