Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: LightStorm on July 01, 2014, 08:44:17 AM

Title: How to update widget localPosition right after anchor change?
Post by: LightStorm on July 01, 2014, 08:44:17 AM
Hi all.

Does anybody know how to immediately recalculate local position for widget right after anchor value change?

Thanks.
Title: Re: How to update widget localPosition right after anchor change?
Post by: ArenMook on July 02, 2014, 03:43:43 AM
ResetAnchors() followed by UpdateAnchors().