Upon building in any platform I get this error with 2.0.7:
Assets/NGUI/Scripts/UI/UIPanel.cs(149,56): error CS0103: The name `flags' does not exist in the current context
So to build I have to comment that line out as flags doesn't seem to be used for anything other than the editor anyway.
Second Problem. Buttons again.
I have a button that works in the editor, web player, PC, and Mac. But when I build for iOS, the events do not fire. The button does not change color/size/offset. All other buttons in the UI work universally, and there are quite a few.
To try to resolve this issue I have:
1. Upgraded from 2.0.4b to 2.0.7.
Note that all of the efforts I am describing below have been done on _both_ versions of NGUI that were tested.
2. Rebuilt the button from scratch using both the normal way to build a button and the work around I described here:
http://www.tasharen.com/forum/index.php?topic=462.03. Changed the z-value of both the collider and the Button itself to be in front of and behind it's parent.
4. Ensured that there are no scripts attached to the button other than those that come with NGUI.
5. Determined that the button is in fact identical in all settings (except for it's y value and the animation it plays) to another button on the same panel.
6. Hit the button with a hammer on both my ipad and iphone.
Please help...