Files
Bachelor-Arbeit-Adrian-Haefner/Library/PackageCache/com.unity.ugui@4f1c21fcc9bc/Documentation~/script-Shadow.md
adriadri6972 d3d9c5f833 upload project
2025-07-31 15:21:08 +02:00

17 lines
583 B
Markdown

# Shadow
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.](images/UI_TextExample.png)
![Text with Shadow effect.](images/UI_ShadowExample.png)
![](images/UI_ShadowInspector.png)
## 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. |