Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: laurentl on May 24, 2013, 05:51:00 PM
-
When the transparency of a widget or a panel is animated it doesn't update at runtime, and requires AnimatedAlpha.
That's tedious and cause of many errors but it's necessary for optimization.
So what I suggest is the inspector displays an error message when user animates the component because remember : those who animate the UI are the artists.
-
The issue is in detecting this. Animation directly modifies a private member variable -- so unless I keep a redundant copy of it and keep checking for inequality every update, there is no way to tell if it's modified improperly. And adding such hacks to detect a user issue is not a good way to go.
-
I was sure there was a .isAnimated in the Editor API but to my surprise there are none so I understand how you cannot do that.
Must have been frustrating working around all these limitations and I hope all this feedback is helping you in making a very artist friendly system.
-
Very frustrating indeed :|