Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: hvilela on October 03, 2012, 05:15:50 PM

Title: UIPanel.widgetsAreStatic
Post by: hvilela on October 03, 2012, 05:15:50 PM
bool UIPanel.widgetsAreStatic = false
"Whether widgets drawn by this panel are static (won't move). This will improve performance."

Should I mark this when the the widgets don't move at all or don't move relatively to the Panel?

I'm asking cause I have several panels with widgets that don't move relatively to the panel but the panel itself moves (indirectly moving his children).
Title: Re: UIPanel.widgetsAreStatic
Post by: ArenMook on October 03, 2012, 08:01:51 PM
Don't move relative to the panel. You can move the panel freely (or drag it using UIDragPanel for that matter -- that's fine too).
Title: Re: UIPanel.widgetsAreStatic
Post by: hvilela on October 04, 2012, 07:55:17 AM
Thanks man.