C
C
colo2014-07-25 09:54:42
User interface
colo, 2014-07-25 09:54:42

How to draw simple vector 2D shapes in Unity3D for GUI?

How to draw a circle, a square, etc. on the screen in the Unity3D engine. and set them the desired color, radius? In particular, I want to make a HUD for my small game this way. I tried the GUITexture option, but it doesn’t quite fit, because you need to resize the shapes, so vector graphics are needed.
Is it possible to somehow implement .svg files?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Pavlov, 2014-07-25
@colo

Use NGUI.
Version 2 is available for free and works well. You can download it from here , in the Free Version section.
Or wait until Unity 4.6 is released, where they make their new NGUI-style GUI system. I think they'll release it over the summer. And if they still don’t have time to release it in version 4. *, then they should definitely release it in the fifth.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question