当前位置:网站首页>Panel panel of UI

Panel panel of UI

2022-07-05 04:52:00 yaohuiyaoo

1.Panel
panel Control is also called panel , The panel is actually a container , You can put other... On it UI Control
When moving this panel , What's in it UI Control will move with , This makes it more reasonable and convenient to move and process a group of controls
When the panel is created , It will include one by default Image(Script)
 Insert picture description here
Source Image: The image used to set the panel
Color Used to change the color of the panel
2.Image
 Insert picture description here
Source Image: Import 2D picture
Color( Color ): The superimposed color of the picture ( Generally, white is the default )
Material( texture of material ): The material superimposed by the picture
Raycast Target( Ray projection target ): Whether it is a ray target , Not considered after closing UGUI The X-ray examination of
Image Type( Picture display type ); Choosing different types can have different effects
Simple:( Basic ): The whole picture shows , No cutting , Don't stack , Stretch according to border size
Preserve Aspect : in the light of Simple Pattern , After the check , Whether the shape of the picture is enlarged or reduced , Will always maintain the length width ratio
3.RawImage
 Insert picture description here
RawImage and Image The difference between
Image Control is used to display Sprite Type of picture
RawImage Control is used to display Texture Type of picture

原网站

版权声明
本文为[yaohuiyaoo]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140626299396.html