Hi, if you are looking for the UI example project for the UI public beta then you have come to the right place.
This project contains a number of examples showing how to use some of the fundamental building blocks of the system, but it is by far not an exhaustive example of what can be done!
You can find the project on the Asset Store here:
There are a number of scenes:
Controls - shows some of the standard controls that come with the UI system.
Drag And drop - How to implement a drag and drop handler.
Draggable Panel - How to implement a simple draggable and resizable window.
Layout Groups - Example of using the auto layout system with nested layout groups and a grid.
Lighting - Examples of UI affected by lighting in the scene.
Menu 3D - How to have a 3d UI with perspective that uses Mecanim for the buttons.
Render Texture - How to use render textures for UI elements.
In your applications folder change the “unity” folder name to “Unity (version number)” then install the beta, it will create another folder called “unity” and change that one to whatever version number.
I just tested out the example project with 4.6 Beta and it seems that most of the controls do not work when using the web player. Is that a known issue? When i tested it out on a desktop Windows build everything worked.
Thank you for this, I just stripped down the project to the horizontal sliders and made some status bar stuff here:
The project was very helpful. Going to try to make my own bar graphics in PS later.
and scoobydoobd i had issues with the webplayer build myself, i think it’s just a beta thing.
Assets/Scripts/DragMe.cs(6,38): error CS0246: The type or namespace name `IBeginDragHandler’ could not be found. Are you missing a using directive or an assembly reference?
Assets/Scripts/DragMe.cs(6,71): error CS0246: The type or namespace name `IEndDragHandler’ could not be found. Are you missing a using directive or an assembly reference?