How to draw 2D polygon?

alt text

I want to draw a polygon like the above to represent different abilities of certain character. My first thought is to use GUI but I’m not sure which function to use. Thanks for help.

If you want to draw polygons in the new UI check this out: https://github.com/CiaccoDavide/Unity-UI-Polygon

http://forum.unity3d.com/threads/54092-Draw-Polygon

This works

You can draw a disc with only 5 segments and you get a polygon: