Game Development Reference
In-Depth Information
You should now have a screen that looks something like the following screenshot:
While Unity is, at the time of this writing, working on integrating
an all-new GUI system, there are some excellent GUI solutions in
the asset store. For example, check out NGUI and Scaleform.
Now you've got a basic title screen set up. Let's add in some basics so that we can
control which UI containers are displayed. Add a new script called GameStates ,
attach it to the Main Camera , and make it look like the following script. You could
technically add the GameStates script to any object—the camera is just a nice,
existing central object.
using UnityEngine;
using System.Collections;
 
Search WWH ::




Custom Search