Game Development Reference
In-Depth Information
Step 12: In the Inspector window, move the mouse so that it rests over
Pixel Inset X. Notice that the mouse grows a pair of arrows ( Figure 12.3 ).
By clicking-dragging here, the value of Pixel Inset X will dial up or down.
Correspondingly, the image will slide left and right in the Game window.
Position it toward the bottom of the screen to allow for additional content
between it and the logo ( Figure 12.4 ).
Figure 12.3 Grown arrows allowing for values to be slid up and down.
Figure 12.4 First button placed.
Step 13: Copy and paste Button_Mission. Change the Texture from
Button_Mission to Button_Bio. Rename in the Hierarchy to Button_Bio .
Use the sliding value trick to adjust the Pixel Inset X to slide this new one
over to the right.
Step 14: Repeat step 13, but use Button_Begin. Be sure to rename
appropriately. The final output should look something like Figure 12.5 .
Figure 12.5 Placed and named buttons and data panels.
Search WWH ::




Custom Search