Unity 3D Panel control

The Unity 3D  panel control is also called a panel. The panel is actually a container on which other UI controls can be placed.

When the panel is moved, the UI controls placed in it will follow the movement, so that a group of controls can be moved and processed more reasonably and conveniently.

Drag the 4 corners or 4 sides of the panel control to adjust the size of the panel.

A fully functional UI interface often uses multiple Panel container controls, and other panels can be applied to one panel, as shown in the figure below.

image


When creating a panel, the panel will contain an Image (Script) component by default, as shown in the figure below.

Among them, Source Image is used to set the image of the panel, and Color is used to change the color of the panel.

image



image


Guess you like

Origin blog.51cto.com/15065850/2580916