
Unity 4.x Game Development by Example: Beginner's Guide
By :

We need to repeat a few steps that we followed in the title scene to set up our game scene.
Navigate to GameObject | Create Empty, and rename the new GameObject GameScreen
.
Create a new JavaScript file from the Project panel and name it GameScript
.
If you'd like to stay tidy, create a folder in the Project panel and rename it Scripts
. Drag your TitleGUI and GameScript scripts into the new Scripts folder to keep them organized.
Drag-and-drop the GameScript script from the Project panel onto the GameScreen GameObject in the Hierarchy panel to link the script to a GameObject.
If you feel so inclined, you can set up a customSkin
variable in the script, and link up your MyGUI
custom GUI skin to the script. This step is not necessary to complete the rest of this chapter.
These steps are repetition of what we've already done on our title scene. For more detailed instructions, just jump back a few pages!
Change the font size
Change margin width
Change background colour