当前位置:网站首页>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的透明度
勾选:
不勾选:
可以看出,勾选后图形和阴影是一起和谐的变化的,不勾选,阴影的透明度任何改变。
边栏推荐
- 以动态规划的方式求解最长回文子串
- What is the lifecycle of automated testing?
- goland IDE和delve调试位于kubernetes集群中的go程序
- Code submission specification
- Comment la passerelle BACnet / IP recueille - t - elle les données du système central de contrôle des bâtiments?
- R 语言 Kolmogorov-Smirnov 检验 2 个样本是否遵循相同的分布。
- Recommend several 0 code, free, learning and using visualization tools
- R 语言 ggmap
- 力扣515.在每棵树行中找最大值
- LLVM 与 Clang
猜你喜欢

Mysql57 zip file installation

Recommend several 0 code, free, learning and using visualization tools

Construction and exploration of vivo database and storage platform

Sword finger offer|: linked list (simple)

open62541直接导入NodeSet文件

golang gin框架进行分块传输

Kubelet garbage collection (exiting containers and unused images) source code analysis

Vivo browser rapid development platform practice - Overview

小小一款代码编辑器竟然也可以有程序运行之功能——Sublime Text3运行各种语言程序的总结

看似简单的光耦电路,实际使用中应该注意些什么?
随机推荐
ice, protobuf ,thrift -- 笔记
"Jay bear" plummeted by 96.6%. Why is NFT with star goods cold?
数字藏品市场“三大套路”
Yesterday, I went to a large factory for an interview and asked me to do four arithmetic operations. Fortunately, I am smart enough
Top 25 most popular articles on vivo Internet technology in 2021
NDK cross compilation
ACM笔记
R 和 rgl 绘制 3D 结
自动化测试的生命周期是什么?
Face to face experience --- test engineer web side automation --- interview questions for large factories
Sword finger offer|: linked list (simple)
网传互联网公司加班表,排名第一的没悬念
XML serialization backward compatible
vite2.9 中指定路径别名
Kubelet garbage collection (exiting containers and unused images) source code analysis
R language ggmap visual cluster
看似简单的光耦电路,实际使用中应该注意些什么?
阿里云服务器创建快照、回滚磁盘
R 语言绘制 动画气泡图
mysql57 zip文件安装