Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: hesoul on January 06, 2014, 04:17:28 AM

Title: Rotate UIWidget does not update display
Post by: hesoul on January 06, 2014, 04:17:28 AM
I have a issue,when I rotate widget around the axis(1,1,0) or (-1,-1,0),the widget does not update display.
I found the function [UIWidget.UpdateTransform] only determine whether the bottom-left and upper-right corner to move,
so if you rotate widget around the axis which through those two points,will not update display.
how to fix it? determine three or four point?
Title: Re: Rotate UIWidget does not update display
Post by: ArenMook on January 06, 2014, 10:31:46 AM
MarkAsChanged() on the widget forces its flag.