Game Development Reference
In-Depth Information
Note
For more information and to learn more about these properties, visit
ht-
Name
is basically the name of this style, which by default is
box
(the default
style of
GUI.Box
). Next, we will be setting our custom UI to this
GUISkin
;
click on the arrow in front of
Normal
to bring up the drop-down list, and you will
see two parameters—
Background
and
Text Color
.
5. Click on the circle icon on the right-hand side of the
Background
line to bring up
the
Select Texture2D
window and choose the
boxNormal
texture, or you can
drag the
boxNormal
texture from the
MenuInRPG/Resources/UI
folder and
drop it to the
Background
space.
Tip
We can also use the search bar in the
Select Texture2D
window or the
Project
view to find our texture by typing
boxNormal
in the search bar, as shown in the
following screenshot: