Game Development Reference
In-Depth Information
Note how the button code is set in relation to the group's location. By using level names instead of
index numbers, you will have less to change as you add more menus. The downside is that you will
get an error if the level you try to load has not yet been added to the build.
1.
Drag the Garden GUISkin onto the GUI Holder's New Skin parameter.
2.
Click Play, and adjust the size of the editor window.
The button locations adjust themselves to stay relatively correct (Figure 10-28 ).
Figure 10-28. The Start menu maximized
3.
Stop Play mode, and uncheck “Maximize on Play.”
4.
Click Play, and adjust the Game view size.
The buttons adjust their position, allowing you access to the Inspector during runtime with limited
screen space (Figure 10-29 ).
 
Search WWH ::




Custom Search