Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: eliascanaza on September 15, 2014, 12:27:10 PM
-
Hi everyone,
I need draw line, rectangle and others into panel, this panel is will moving, Please help me.
-
Make a line, rectangle and others images, put them into a UIAtlas and draw them as UISprites.
Draw them inside a UIpanel that has the Offset checked, so you can move it and its children with the panel.transform's localposition.
If you want anything more detailed, you're gonna have to ask in more detail. For now, look inside the examples folder that comes with NGUI, there's examples of most of the basic stuff.
-
hi, i dont see this examples in the examples folder, there are many examples but with images and dont with draw line, rectangle with code... i need examples how draw line, rectangle and others with code c# and that will is into panel for moving, thnks
-
NGUI is a UI library, not a line drawing library.
If you need a line drawing library, look at Vectrosity.
-
ok, the other option would be it shows a line image ... thanks