Legacy Documentation: Version 5.0
UI Effect Components
Outline

Shadow

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

The Shadow component adds a simple outline effect to graphic components such as Text or Image. It must be on the same GameObject 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.
UI Effect Components
Outline