Tutorial: Unity's GUI Tools
An introduction to GUI Textures, Text, and the OnGUI() script function.By Danielle Olson - shotgunfox .net
»
Unity GUI Tools
Use Unity GUIs to create
menus
in-game HUDs
navigation tools
... and more
by Danielle Olson
^ lol ^
Before you start, make sure you've:
downloaded Unity 2.6
familiarized yourself with Unity
created menu & button graphics
noted that I script in C#
shotgunfox.net
Create a new scene
Create an empty GameObject
Add Component: GUITexture
all graphical components you are using
Edit attributes such as
<: size
<: placement
<: borders
<: image
don't edit these
:>
:>
:>
To create buttons that...
... load a new scene (level)
void OnMouseUp() {
Application.LoadLevel("Level1");
}
... more coming soon
void Method() {
DoStuff();
}
*
to make advanced features like buttons that depress,
you'll need to have some skill with scripting.
If you're really stuck, you can email me at
danielle@shotgunfox.net
To use GUIs for other interface elements...
... stay tuned
a GUI ("gooey" - Graphical User Interface) is responsible for just about every interaction between your program and your user. I'll be adding more how-to's on GUI elements soon, so check back often :)
1 GameObject for each background, button, banana, More presentations by Danielle Olson
Tutorial: Unity Turntable
Danielle Olson on
Display your 3D models in spiffy 3D! By Danielle Olson - shotgunfox .net
Semester Games: Asset Standards
Danielle Olson on
Universal Requirements for models, rigs & animation
Popular presentations
Academy: Prezi Workflow in 15 minutes
Adam Somlai-Fischer on
How to use Prezi - Interface and workflow
More popular prezis in Explore>