ZMWSLI0-SL2021-GR11/Projekt/MWSProjekt/Library/PackageCache/com.unity.ugui@1.0.0/Documentation~/script-Outline.md

17 lines
605 B
Markdown
Raw Normal View History

2021-07-05 21:20:56 +02:00
# Outline
The Outline 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 Outline effect.](images/UI_OutlineExample.png)
![](images/UI_OutlineInspector.png)
## Properties
|**Property:** |**Function:** |
|:---|:---|
|**Effect Color** | The color of the outline. |
|**Effect Distance** | The distance of the outline effect horizontally and vertically. |
|**Use Graphic Alpha** | Multiplies the color of the graphic onto the color of the effect. |