Datagrid, dataset, drop down list, radiobutton, something like what we're seeing userly in user registration form. I want to show up that kind of form in utity3d screen and that would interface with other unity3d objects. Where can I get that kind of referrence?
asked Apr 19 '10 at 07:30 AM
UnityGUI allows you to arrange simple controls on the screen like buttons, radio buttons, checkboxes, textboxes and lists. With a little more work you can make windows that behave like dialog boxes. You can arrange controls in a toolbar-like or grid-like arrangement.
A couple of features of note: there are two ways to arrange your controls. You can specify positions, widths etc yourself, or you can use GUILayouts which do much of the arranging for you. Note also that the GUI skin can be changed to achieve different looks.
However, there is nothing like a datagrid or dataset built into Unity. There are various ways to get data from a server: http://answers.unity3d.com/questions/658/connect-to-the-sql-database But you will have to handle filling the controls and sending results back to the server yourself. (You can build more complex controls out of the simple ones that Unity provides so you could also build your own reusable data-aware controls.)
If you find UnityGUI's programmatic construction of your UI to be tedious, or need other controls, you might want to look at 3rd party add-ons like GUIX or bitverse-unity-gui. I'm sure there are others, and there is a good chance that the forthcoming Unity 3.0 release will also have new features as well.
answered Apr 19 '10 at 11:40 AM