Outline 2D Box

Hi All

I was wondering whether anyone can advise of the easiest way to highlight the outline of a 2D box.

I have tried to use the Silhouette Outline shader, but this does not seem to work on 2D items.

Any suggestions is greatly appreciated

Many thanks

If it’s just a box, you can probably use GL.Lines or something.

Or you can buy Vectrosity which I’ve heard is good

You see I have a 2D Sprite which acts as a tile.

I have an OnTriggerEnter function that I would like to highlight the border/edge of the 2d Sprite Box on player enter.

What would be the best approach for this? I have tried Silhoutte Outline Shader which did not work.

Any help is greatly appreciated.