当前位置:网站首页>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 
边栏推荐
- 总结|机器视觉中三大坐标系及其相互关系
- Storage, reading and writing of blood relationship data of Nepal Graph & Data Warehouse
- Song of cactus - throwing stones to ask the way (3)
- Route service grid traffic through two-level gateway design
- 电脑设备打印机驱动安装失败如何解决
- Bean configuration override in boot
- [fluent] dart language (DART language features | JIT instant compilation | AOT static compilation)
- Processing gzip: stdin: not in gzip format: child returned status 1tar: error is not recoverable: exitin
- Thinking about absolute truth and relative truth
- Register as a harmonios developer and install deveco studio 3.0 beta2 for harmonios
猜你喜欢

Practice of traffic recording and playback in vivo

Maui学习之路(三)--Winui3深入探讨

Foreign enterprise executives, continuous entrepreneurs, yoga and skiing masters, and a program life of continuous iteration and reconstruction

分析超700万个研发需求发现,这8门编程语言才是行业最需要的!

JS learning notes - process control

外企高管、连续创业者、瑜伽和滑雪高手,持续迭代重构的程序人生

JS learning notes - operators

idea jar包冲突排查

Recommended practice sharing of Zhilian recruitment based on Nebula graph

原神2.6服务端下载以及搭建安装教程
随机推荐
Effectively use keywords to increase Amazon sales
Boot connection to impala database
OSPF - route aggregation [(summary) including configuration commands] | address summary calculation method - detailed explanation
Construction and business practice of Zhongke brain knowledge map platform
JS learning notes - process control
day4
由ASP.NET Core根据路径下载文件异常引发的探究
Yyds dry goods inventory hands-on teaching you to carry out the packaging and release of mofish Library (fishing Library)
Memory alignment of structure
dried food! Understand the structural vulnerability of graph convolution networks
PCL 点云镜像变换
头条 | 亚控科技产品入选中纺联《纺织服装行业数字化转型解决方案重点推广名录》
[fluent] dart language (DART language features | JIT instant compilation | AOT static compilation)
HMS core machine learning service helps zaful users to shop conveniently
电脑管理员权限在哪里可以打开
Practice of traffic recording and playback in vivo
请问怎么在oracle视图中使用stustr函数
[5g NR] RRC connection release
MySQL calculates the data within the longitude and latitude range
曆史上的今天:支付寶推出條碼支付;分時系統之父誕生;世界上第一支電視廣告...