Author Topic: NGUI Questions  (Read 1914 times)

beck

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
NGUI Questions
« on: January 25, 2014, 01:03:26 AM »
I've been using NGUI the past week for the first time and I'm running into a small problem. How do you move multiple sprites at once? If the centroid of the sprites is behind a sprite, the move tool is blocked by the sprite drag, which only affects a single sprite. Dragging the label on the individual position components seems to snap them all to the same value.

Btw, excellent tool so far! I'm really enjoying the workflow of putting these together, and the anchor system is very affective for justifying groups of elements.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI Questions
« Reply #1 on: January 25, 2014, 01:57:51 AM »
You can disable the handles from NGUI menu options, which will let you use the transform move gizmo. You can also have widgets parented to the same parent, and move the parent. It's generally a good idea to do that anyway, and put a UIWidgetContainer on it to make it easy to move all of them as if it was one big widget.

beck

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: NGUI Questions
« Reply #2 on: January 26, 2014, 01:01:35 AM »
Thanks for the response, that works! Yeah, I've been grouping objects where it makes sense but sometimes its not ideal.
It would be nice if in a subsequent version to allow dragging all currently selected objects rather than constraining the drag functionality to one object at a time. The same is true for nudging position values with the arrow keys - if I have multiple objects selected, my expectation would be that all objects in my selection receive the nudge.