NGUI UIToggle
NGUI UIToggle
1.add a UI Toggle(Script) and UI Toggle Objects(Script) to a Tab Button(Which has a UI Button(Script) and Box Collider)
2.add a Selected Sprite as child of Tab Button, and drag this Sprite Widget to the UI Toggle(Script)'s Sprite.
3.modify the Group id in the UI Toggle(Script), '0' means 'None', so set a 1 will be good.
4.drag some Content to the UI Toggle Objects(Script)'s Activate which you want to show when this Tab Button Selected, and some Content to hide to the UI Toggle Objects(Script)'s Deactivate. And enjoy.
5.Starting State is the default selected Tab Button when startup.
UIToggle Class Reference
http://tasharen.com/ngui/docs/class_u_i_toggle.html
Unity3D NGUI UIToggle
http://blog.csdn.net/u012091672/article/details/17143787