Web Demo | Manual
Primitive UI allows you to quickly draw any shape or line into the new UI, and gives you full control while doing so.
Sometimes the built-in UI elements miss the versatility you want, or just lack that one specific feature that you really need. Primitive UI gives you the freedom to easily draw any shape, line or path and comes with out-of-the-box support for the following shape types:
- Squares and Rectangles
- Circles and Ellipses
- Regular and Irregular Solids
- Lines and Paths
In addition, you can pass in a series of polygon points for the UI to fill in automatically, as well as a series of raw VBO points for Unity 4.6-5.1 or mesh vertices and triangle indices for Unity 5.2.
Primitive UI can be great tool for quickly and easily drawing both static and dynamically changing shapes and lines, making it useful for anything from drawing graphs and animated markers to debug symbols and placeholder art for further iteration.