当前位置:网站首页>Unity UI shadow component
Unity UI shadow component
2022-06-28 07:33:00 【Pork balls~】
Future game development program yuan , Now I'm trying my best to learn vegetables and chicken
This column is used to record my recent study of game development
This is Unity-UI-shadow Components
twitter : Why didn't I discover this component earlier , Although it is a small component , But I did it in the competition before ui The word "I" is in..., one by one ps Made in , and , Once there is a change , I'm going ps Redo in , Woo woo
1、 Basic knowledge of

More official interpretation :
| attribute | explain |
|---|---|
| Effect Color | Color of shadow |
| Effect Distance | Shadow offset in vector |
| Use Graphic Alpha | Multiply the color of the graphic by the color of the effect |
Easy to understand :
Effect Color: That's easy to understand , Is the color of the shadow
Default black :
Change to green :
Effect Distance: Can spend coordinates to understand , For example, the default x by 1,y by -1, This is the direction of the vector 
Then the larger the number , The longer the vector is ,x by 3,y by -3 when

Use Graphic Alpha: Check , The transparency of the original drawing changes , The transparency of shadows also changes . Don't check , Does not change .
Example : The parameters of green shadow are not adjusted , Change red only shadow Transparency
Check :
Don't check :
It can be seen that , When checked, the figure and shadow change harmoniously , Don't check , Any change in the transparency of shadows .
边栏推荐
- This keyword details
- Kubelet garbage collection (exiting containers and unused images) source code analysis
- Sword finger offer II 091 Paint the house
- What is the lifecycle of automated testing?
- 阿里云服务器创建快照、回滚磁盘
- DOM parsing of XML file case code sentence by sentence analysis
- vite2.9 中指定路径别名
- "Three routines" of digital collection market
- QT -- 通讯协议
- LeetCode+ 51 - 55 回溯、动态规划专题
猜你喜欢

Construction and exploration of vivo database and storage platform

Modifying MySQL port number under Linux

Design and practice of vivo sensitive word matching system

推荐系统系列精讲(第五讲): 排序模型的调优实践

8 张图 | 剖析 Eureka 的首次同步注册表

卸载重装最新版mysql数据库亲测有效

"Three routines" of digital collection market

Uninstall and reinstall the latest version of MySQL database. The test is valid

Principle and practice of bytecode reference detection

mysql57 zip文件安装
随机推荐
hack the box:RouterSpace题解
Force buckle 515 Find the maximum value in each tree row
Analyze 5 indicators of NFT project
R and RGL draw 3D knots
Can okcc call centers work without computers?
Understanding of OPC protocol
逆波兰表达式求值<难度系数>
Dbeaver 22.1.1 release, visual database management platform
基金的投资交易与结算
goland IDE和delve调试位于kubernetes集群中的go程序
Mysql8.0 and mysql5.0 accessing JDBC connections
linux下修改mysql用户名root
mysql57 zip文件安装
扩展Prometheus的解决方案thanos的简介和几个月使用心得
Modifying MySQL user name root under Linux
Sword finger offer|: linked list (simple)
kubelet驱逐机制的源码分析
Alibaba cloud server creates snapshots and rolls back disks
es6箭头函数中return的用法
Design and practice of vivo sensitive word matching system