Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Whelandrew on June 16, 2014, 10:52:25 AM

Title: Dynamic line-drawing between objects
Post by: Whelandrew on June 16, 2014, 10:52:25 AM
In my UI, there is an indicator circle that directs the users attention to a new feature in the scene. I am attempting to draw a line from the textbox of instructions to the circle highlighting the new feature. I have been trying to do this by drawing a 1x1 pixel line from one point to the other. I need the line to scale and rotate. Manually, I can make this work fine, but in code I cannot wrap my head around the process to get this working correctly. I could use any kind of direction, thanks!
Title: Re: Dynamic line-drawing between objects
Post by: ArenMook on June 17, 2014, 01:51:18 PM
I'm not sure what drawing a line has to do with NGUI? Either use Vectrocity plugin, or create a small widget with desired thin & narrow dimensions.