Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: hgrenade on July 02, 2013, 05:26:32 PM

Title: Problems Animating a Drag Panel
Post by: hgrenade 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 : )
Title: Re: Problems Animating a Drag Panel
Post by: ArenMook 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.