当前位置:网站首页>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 
边栏推荐
- Construction and business practice of Zhongke brain knowledge map platform
- mysql 计算经纬度范围内的数据
- Introduction to database system Chapter 1 short answer questions - how was the final exam?
- SSM整合-异常处理器及项目异常处理方案
- Boot 连接 Impala数据库
- Flink real-time data warehouse (IX): incremental synchronization of data in MySQL
- Maui学习之路(三)--Winui3深入探讨
- 做机器视觉哪个软件好?
- After the win10 system is upgraded for a period of time, the memory occupation is too high
- Invalid bound statement (not found) solution summary
猜你喜欢

【5G NR】RRC连接释放

Bone conduction non ear Bluetooth headset brand, bone conduction Bluetooth headset brand recommendation

Huawei ECS installs mysqlb for mysqld service failed because the control process exited with error code. See “sys

手机app通达信添加自定义公式(分时T+0)为例子讲解

华为云服务器安装mysqlb for mysqld.service failed because the control process exited with error code.See “sys

Bib | graph representation based on heterogeneous information network learning to predict drug disease association

数据安全产业系列沙龙(三)| 数据安全产业标准体系建设主题沙龙

Route service grid traffic through two-level gateway design

Dimension table and fact table in data warehouse

Boot 事务使用
随机推荐
Analyzing more than 7million R & D needs, it is found that these eight programming languages are the most needed in the industry!
day4
Summary of multithreading and thread synchronization knowledge
mysql min() 求某条件下最小的值出现多个结果
In memory of becoming the first dayu200 tripartite demo contributor
Leetcode --- longest public prefix
PCL 最小中值平方法拟合平面
PyC file decompile
Win11应用商店无法加载页面怎么办?Win11商店无法加载页面
How to use stustr function in Oracle view
End time processing method of wechat v3native payment settings
Leetcode -- number of palindromes
Everyone Xinfu builds: a one-stop intelligent business credit service platform
数仓中的维度表与事实表
[fluent] dart data type string type (string definition | string splicing | string API call)
Best practices for building multi architecture images
Yyds dry inventory KVM new inventory to expand space for home
Text intelligent expansion and contraction control of swiftui text component (tutorial includes source code)
Boot connection to impala database
手机app通达信添加自定义公式(分时T+0)为例子讲解