当前位置:网站首页>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 .
边栏推荐
- In idea, the get and set methods may be popular because the Lombok plug-in is not installed
- An important term in MySQL -- CRUD
- BACnet/IP网关如何采集楼宇集中控制系统数据
- Yesterday, I went to a large factory for an interview and asked me to do four arithmetic operations. Fortunately, I am smart enough
- 8 张图 | 剖析 Eureka 的首次同步注册表
- Vivo browser rapid development platform practice - Overview
- Ice, protobuf, thrift -- Notes
- 推荐系统系列精讲(第五讲): 排序模型的调优实践
- hack the box:RouterSpace题解
- 基金的投资交易与结算
猜你喜欢
随机推荐
flutter 实现摇一摇功能
ABAP 技能树
Kubernetes deploys a secret pit where thanos ruler sends repeated alarms
es6箭头函数中return的用法
Source code analysis of kubernetes' process of deleting pod
PLC -- 笔记
linux下修改mysql用户名root
Uninstall and reinstall the latest version of MySQL database. The test is valid
R 语言 ggmap
云原生(待更新)
kubelet驱逐机制的源码分析
东方财富上开户是安全的吗
力扣515.在每棵树行中找最大值
QT -- communication protocol
Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known
HTTP Caching Protocol practice
Is it safe for flush to open an account online
剑指offer II 091.粉刷房子
阿里云服务器创建快照、回滚磁盘
Alibaba cloud server creates snapshots and rolls back disks









