当前位置:网站首页>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 
边栏推荐
- Recommended practice sharing of Zhilian recruitment based on Nebula graph
- mysql min() 求某条件下最小的值出现多个结果
- 处理gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exitin
- 台积电全球员工薪酬中位数约46万,CEO约899万;苹果上调日本的 iPhone 售价 ;Vim 9.0 发布|极客头条...
- 多数据源配置代码
- 结构体的内存对齐
- 请问怎么在oracle视图中使用stustr函数
- Typescript array out of order output
- mysql 计算经纬度范围内的数据
- Aujourd'hui dans l'histoire: Alipay lance le paiement par code à barres; La naissance du père du système de partage du temps; La première publicité télévisée au monde...
猜你喜欢

Memory alignment of structure

Summary | three coordinate systems in machine vision and their relationships

IDEA中设置背景图片(超详细)

数学分析_笔记_第5章:一元微分学

Mathematical analysis_ Notes_ Chapter 6: Riemann integral of univariate function

Compress words (kmp/ string hash, double hash)

Recalling the college entrance examination and becoming a programmer, do you regret it?

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

Practice of traffic recording and playback in vivo

电脑管理员权限在哪里可以打开
随机推荐
Bone conduction non ear Bluetooth headset brand, bone conduction Bluetooth headset brand recommendation
Win11应用商店无法加载页面怎么办?Win11商店无法加载页面
Yyds dry inventory method of deleting expired documents in batch
[fluent] dart language (DART language features | JIT instant compilation | AOT static compilation)
仙人掌之歌——投石问路(3)
总结|机器视觉中三大坐标系及其相互关系
Classifier visual interpretation stylex: Google, MIT, etc. have found the key attributes that affect image classification
Original God 2.6 server download and installation tutorial
PyC file decompile
Maui learning road (III) -- in depth discussion of winui3
OSPF - detailed explanation of NSSA area and full NSSA area (including configuration command), LSA type 7 lsa-7
学生选课系统(山东农业大学课程设计)
微信v3native支付设置的结束时间处理办法
做机器视觉哪个软件好?
Multi data source configuration code
注册成为harmonyos开发者并安装DevEco Studio 3.0 Beta2 for HarmonyOS
Practice of constructing ten billion relationship knowledge map based on Nebula graph
Mathematical analysis_ Notes_ Chapter 5: univariate differential calculus
Processing gzip: stdin: not in gzip format: child returned status 1tar: error is not recoverable: exitin
月报总结|Moonbeam6月份大事一览