当前位置:网站首页>Unity-UI-shadow组件
Unity-UI-shadow组件
2022-06-28 07:30:00 【猪肉丸子~】
未来的游戏开发程序媛,现在的努力学习菜鸡
本专栏用来记录我最近的游戏开发的学习
本篇是Unity-UI-shadow组件
碎碎念:为什么我没有早点发现这个组件,虽然是个小组件,但之前参加比赛时候做的ui的字是我一张一张在ps里做的,而且,一发生改动,就要去ps里重做,呜呜呜呜
1、基础知识
较为官方的解释:
属性 | 说明 |
---|---|
Effect Color | 阴影的颜色 |
Effect Distance | 以向量表示的阴影偏移量 |
Use Graphic Alpha | 将图形的颜色乘以效果的颜色 |
较为容易理解的:
Effect Color:这个好理解,就是阴影的颜色
默认的黑色:
改成绿色:
Effect Distance:可以花坐标理解,比如默认的x为1,y为-1,向量就是这样的方向
然后数值越大,向量的长度也就越长,x为3,y为-3时
Use Graphic Alpha:勾选,原图形的透明度变化,阴影的透明度也变化。不勾选,则不随着变化。
例子:绿色阴影的参数不做调节,只更改红色shadow的透明度
勾选:
不勾选:
可以看出,勾选后图形和阴影是一起和谐的变化的,不勾选,阴影的透明度任何改变。
边栏推荐
- Kubernetes cluster lossless upgrade practice
- XML serialization backward compatible
- ice - 资源
- 金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
- golang gin框架进行分块传输
- 剑指offer II 091.粉刷房子
- Practice of traffic recording and playback in vivo
- Practice and exploration of vivo live broadcast application technology
- Design and implementation of spark offline development framework
- 2021 VDC: technological architecture evolution of vivo Internet service for 100 million users | PPT download attached
猜你喜欢
全方位透析真实企业软件测试流程
8 figures | analyze Eureka's first synchronization registry
Evolution of vivo push platform architecture
MySQL installation steps - Linux configuration file JDK installation (II)
es6箭头函数中return的用法
剑指Offer||:链表(简单)
Principle and practice of bytecode reference detection
"Three routines" of digital collection market
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
The practice of event driven architecture in vivo content platform
随机推荐
代码提交规范
OPC 协议认识
Top 25 most popular articles on vivo Internet technology in 2021
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
一个小工具可以更快的写爬虫
Huawei cloud computing physical node cna installation tutorial
Face to face experience --- test engineer web side automation --- interview questions for large factories
R language drawing ggplot2 seasonal graph
R language ggmap visual cluster
R language Kolmogorov Smirnov tests whether the two samples follow the same distribution.
linux下修改mysql用户名root
Modifying MySQL user name root under Linux
Sword finger offer II 091 Paint the house
R language hitters data analysis
Ice - resources
Jinshan cloud team shared | 5000 words to understand how Presto matches with alluxio
MySQL installation steps - how to create a virtual machine under Linux (1)
HTTP Caching Protocol practice
Open62541 import nodeset file directly
以动态规划的方式求解最长回文子串