Legacy Documentation: Version 2018.2 (Go to current version)
UI Effect Components
Outline
Other Versions

Shadow

The Shadow component adds a simple outline effect to graphic components such as Text or Image. It must be on the same GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
as the graphic component.

Text with no effect. Text with Shadow effect.

Properties

Property: Function:
Effect Color The color of the shadow.
Effect Distance The offset of the shadow expressed as a vector.
Use Graphic Alpha Multiplies the color of the graphic onto the color of the effect.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答