Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.12 KB

File metadata and controls

22 lines (13 loc) · 1.12 KB

UnityUIPolygon

A working Polygon renderer for Unity UI, that works in Unity 2022 LTS

I really liked the ideas in an old polygon renderer that can be found at https://github.com/CiaccoDavide/Unity-UI-Polygon however it did not work for some reason. It seemed to be an issue with a new version of unity. I reimplemented it from scratch, so it should be futureproofed (for now!). If not, I used RawImage as a baseline for figuring out what to do and then wrote an editor for it.

alt text

alt text

alt text

To add, just add like you would an Image or button.

alt text

It even supports masking! I'm not sure if the old one did.

alt text

alt text