Border Effect

Shader effect. Add the BorderEffect component to the game object with the Graphic component.

Note

The Mask component should be placed before this component.

Options

  • Border Color Color

    Color of the border.

  • Transparent Background bool

    Change color of the Graphic component to transparent.

  • Horizontal Borders Vector2

    Left (x) and right (y) border width in pixels.

  • Vertical Borders Vector2

    Top (x) and bottom (y) border width in pixels.