Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: breakmachine on September 04, 2014, 09:42:33 AM

Title: TweenScale and anchors
Post by: breakmachine on September 04, 2014, 09:42:33 AM
I'm having trouble using TweenScale on a panel with widgets using anchors. The anchors are set to execute on OnUpdate but during and sometimes after the TweenScale animation they end up in the wrong place. Any ideas?
Title: Re: TweenScale and anchors
Post by: ArenMook on September 04, 2014, 11:06:49 AM
TweenScale distorts the widget, so anchors won't work quite right. You should use TweenWidth, TweenHeight, or TweenPosition instead.
Title: Re: TweenScale and anchors
Post by: breakmachine on September 04, 2014, 01:35:32 PM
Ok. I'll try a combination of those then. Thanks for your reply.
Title: Re: TweenScale and anchors
Post by: breakmachine on September 05, 2014, 03:07:51 AM
Didn't really give me the effect I wanted. Would have been great if anchors could handle distortions. At least scale  :)