- Home /
NGUI drag and drop snap
Hi everyone,
im using NGUI, specifically the drag and drop feature, i have figured out how to orientate in the right direction and place at the right height, but i cant figure out how to make it snap to a grid.
i have made a grid from multiple planes and im assuming its something really simple im not getting,
i dont have the code right now because im at work but its the NGUI drop script im assuming needs the edit, i will post a section of the code later.
in the mean time if anyone has any ideas or and examples of what they have done it would be a great help, im basically making a very basic sim/tycoon game, so its drag from GUI add to grid.
thanks guys.
Answer by MorphVGX · Dec 22, 2014 at 06:46 PM
https://www.youtube.com/watch?v=UK3aMHRfgcw Try this guide.
Your answer
Follow this Question
Related Questions
Placing Objects on a grid, 1 Answer
Prevent this script from snapping diagonally 0 Answers
Examples of TBS/Heavily Gui-driven Games in Unity? 2 Answers
Snapping Issue 2 Answers
Grid snapping 0 Answers