Game Development Reference
In-Depth Information
1.
Bring the GUI Assets folder from the Chapter 10 Assets folder into the
Project view.
In Settings, the Editor was left on 2D as the Default Behavior Mode, so the textures come in set up
as sprites.
2.
Among other assets, it contains a few blue and orange circular button images
and some carrots (Figure 10-10 ).
Figure 10-10. The blue and orange button images and some carrots
3.
Select the button and carrot textures in the GUI Assets folder, set their Texture
Type to GUI (Editor/Legacy), and click Apply.
4.
Select the Garden GUI Skin, and open the Button template.
5.
Expand the Normal and Hover parameters.
6.
Assign the ButtonBlueGlass to the Normal Background (Figure 10-11 ).
Figure 10-11. The textures assigned to the Button template's Normal and Hover sections, and Text Color set to Black
 
Search WWH ::




Custom Search