当前位置:网站首页>Unity uses ugui to set a simple multi-level horizontal drop-down menu (no code required)
Unity uses ugui to set a simple multi-level horizontal drop-down menu (no code required)
2022-07-02 16:25:00 【Yun Xiaochuan】
Reference resources :Unity Use UGUI Set up a simple multi-level drop-down menu ( No code needed )_Y-Jin heart The blog of -CSDN Blog
We need to understand these unity Know something about components : Yes ScrollRect 、Mask 、Horizontal Layout Group Content Size Fitter GridLayoutGroup
design sketch :

Specific implementation steps :
1. establish Image As parent node , To parent node Add corresponding components 
2. Create an empty object , For the father's day point object , Add corresponding components
Child Controls Size:width After checking, the box of sub object cannot be customized , It can only be the same as the current object , Gao Tongli
Child Force Expand: Select this sub object to automatically expand
Below Content Size Fitter, Must mount 
3. establish Toggle Control display 
4. establish Itme Sub object list , my Itme It's multi line , If it is a submenu , Components GridLayoutGroup Switch to Horizontal Layout Group
5. matters needing attention : Because of the above Horizontal Layout Group It is sorted in order 
边栏推荐
- 仙人掌之歌——投石问路(2)
- Another graduation season
- Some problems about MySQL installation
- Win11应用商店无法加载页面怎么办?Win11商店无法加载页面
- What is the difference between self attention mechanism and fully connected graph convolution network (GCN)?
- Yyds dry goods inventory student attendance system based on QT design
- PCL 点云镜像变换
- Flink real-time data warehouse (7): Flink realizes the full pull module to extract data in MySQL
- JS learning notes - first acquaintance
- Seal Library - installation and introduction
猜你喜欢

Vscode设置标签页多行显示

SSM整合-异常处理器及项目异常处理方案

头条 | 亚控科技产品入选中纺联《纺织服装行业数字化转型解决方案重点推广名录》
![[5g NR] RRC connection release](/img/f3/a03f5124493b1c03e7336c55871330.png)
[5g NR] RRC connection release

结构体的内存对齐

Yyds dry inventory company stipulates that all interfaces use post requests. Why?

mysql min() 求某条件下最小的值出现多个结果

Seal Library - installation and introduction

What is the difference between self attention mechanism and fully connected graph convolution network (GCN)?

JS learning notes - first acquaintance
随机推荐
Vscode设置标签页多行显示
潘多拉 IOT 开发板学习(RT-Thread)—— 实验2 RGB LED 实验(学习笔记)
In memory of becoming the first dayu200 tripartite demo contributor
mysql 计算经纬度范围内的数据
Group by的用法
Sim2real environment configuration tutorial
Vscade set multi line display of tab
【5G NR】RRC连接释放
Recommended practice sharing of Zhilian recruitment based on Nebula graph
Dimension table and fact table in data warehouse
Mysql database mysqldump why there is no statement to create a database
day4
What is the difference between self attention mechanism and fully connected graph convolution network (GCN)?
Boot transaction usage
By asp Net core downloads files according to the path exception
Summary | three coordinate systems in machine vision and their relationships
Kubernetes family container housekeeper pod online Q & A?
Yyds dry goods inventory student attendance system based on QT design
Today in history: Alipay launched barcode payment; The father of time-sharing system was born; The first TV advertisement in the world
虚假的暑假