- Mastering UI Development with Unity
- Ashley Godbold
- 167字
- 2021-08-27 18:43:16
Types of Automatic Layout Groups
When a UI object has an automatic layout group component attached to it, all of its children will be aligned, resized, and positioned based on the parameters of the layout component. There are three automatic layout group options: Horizontal Layout Group, Vertical Layout Group, and Grid Layout Group.
The following screenshot shows three panels (represented by gray rectangles), each with six UI image children (represented by the black rectangles): the first panel has a Horizontal Layout Group component, the second panel has a Vertical Layout Group component, and the third panel has a Grid Layout Group component:

From the preceding screenshot, you can see clearly what the three types of Automatic Layout Groups accomplish. You can use any combination of the three to create nested, perfectly spaced layouts, as follows:

Let's look at each of these layout groups individually and explore their various properties.
- 潮流:UI設計必修課
- 測試驅動開發:入門、實戰與進階
- C#編程入門指南(上下冊)
- Functional Kotlin
- Hands-On Microservices with Kotlin
- Unreal Engine 4 Shaders and Effects Cookbook
- Create React App 2 Quick Start Guide
- Oracle GoldenGate 12c Implementer's Guide
- Quantum Computing and Blockchain in Business
- Mastering Akka
- Flowable流程引擎實戰
- Python入門很輕松(微課超值版)
- 區塊鏈國產化實踐指南:基于Fabric 2.0
- Java程序設計與項目案例教程
- Arduino電子設計實戰指南:零基礎篇