UnityGame/Library/PackageCache/com.unity.ugui/Documentation~/script-Shadow.md
2024-10-27 10:53:47 +03:00

583 B

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. 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.