Author Topic: Problems Animating a Drag Panel  (Read 2092 times)

hgrenade

  • Guest
Problems Animating a Drag Panel
« on: July 02, 2013, 05:26:32 PM »
Hi - New user here and I am doing some initial testing with NGUI. I have only run into 1 problem so far...

Lets say I have two drag panels and two buttons (like a tabbed bar) each button should set the state of each panel to move or fade etc. - one in and one out. This works fine until I drag one of the drag panels. then the clipping area moves to a weird location and I can only see part of the drag area.

Any suggestions?

Great product btw : )

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problems Animating a Drag Panel
« Reply #1 on: July 03, 2013, 06:11:51 AM »
Don't attempt to move the draggable panel by itself. If you need to move something, move its parent. Also if you want to fade something out, I suggest fading out the panel's alpha.