当前位置:网站首页>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 .
边栏推荐
- ice, protobuf ,thrift -- 笔记
- Sword finger offer|: linked list (simple)
- Tencent continued to lay off staff in the second half of the year, and all business groups reduced by at least 10%. What do you think of this? Followers
- No suspense about the No. 1 Internet company overtime table
- MySQL installation steps - Linux configuration file JDK installation (II)
- Jetpack - defects of livedata component and Countermeasures
- DOM parsing of XML file case code sentence by sentence analysis
- 分析 NFT 项目的 5 个指标
- An important term in MySQL -- CRUD
- Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known
猜你喜欢
腾讯下半年继续裁员,所有事业群至少缩减 10%,对此你怎么看?关注者
The practice of event driven architecture in vivo content platform
以动态规划的方式求解最长回文子串
Tencent continued to lay off staff in the second half of the year, and all business groups reduced by at least 10%. What do you think of this? Followers
Face to face experience --- test engineer web side automation --- interview questions for large factories
在idea中,get和set方法爆红可能是没有安装Lombok插件
kubernetes删除pod的流程的源码简析
Pfizer's new Guankou medicine has entered the Chinese market, and the listing of relevant products of domestic pharmaceutical enterprises is just around the corner
HTTP Caching Protocol practice
Leetcode+ 51 - 55 retrospective and dynamic planning topics
随机推荐
网传互联网公司加班表,排名第一的没悬念
XML serialization backward compatible
Cloud native (to be updated)
Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known
Server body 18: understanding and thinking of UDP reliable transmission (feeling from reading Yunfeng blog)
How bacnet/ip gateway collects data of building centralized control system
金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
Comment la passerelle BACnet / IP recueille - t - elle les données du système central de contrôle des bâtiments?
Is it safe to open a stock trading account on your mobile phone?
Introduction and several months' experience of extending the solution thanos of Prometheus
QT -- communication protocol
Top 25 most popular articles on vivo Internet technology in 2021
Dbeaver 22.1.1 release, visual database management platform
"Jay bear" plummeted by 96.6%. Why is NFT with star goods cold?
PLC -- Notes
一个小工具可以更快的写爬虫
剑指offer II 091.粉刷房子
Comprehensive analysis of real enterprise software testing process
R language ggmap
Uninstall and reinstall the latest version of MySQL database. The test is valid