Introduction

UI Group is a special component which will be auto generated when groupping UIs, which allows developers to organize and manage UI elements more effectively

When the UI elements is inside an UI Group, the transform parameters represents the relative transform to the UI Group

Pack up UIs

Help you to manage UI elements in a more effectively way

20241107213328_rec_.mp4

Work as Background

You can also use the UIGroup as a background of other UI elements

20241107213435_rec_.mp4

Properties

Property Type Description
Is Active Bool Whether the UI controls are enabled
Click Penetrate Bool When penetrational is enabled, touching the UI can trigger other UI controls behind it at the same time, including the official UI as well as the 3D-UI in the scene
This parameter does not affect the original functionality of this UI
Rect Position Vector2 The screen coordinates of the UI, (0,0) represents the center of the screen
Rect Rotation Int The rotation angle of the UI
Rect Size Vector2 The size of the UI control
Rect Scale Vector2 The scale of the UI control, Which can be thought as a scaling multiple
Image Image The picture to be displayed. It will shown as a pure white picture when there is no picture selected
Imaga Color Color The color of the image
Alpha Int The alpha of the background image
Fit Content Bool - When the value is true, the size of the UIGroup will automatically adjust according to the size of the child UIs

Events

None.

Event Description Parameter
When broadcast is received with Triggered when a broadcast is received 1. Object:(Object)The object to which sent the broadcast

Commands

None.