Game Development Reference
In-Depth Information
6. Then, go to the
MenuInRPGGame/Resources/UI
folder and click on the
first file to make sure that the
Texture Type
and
Format
fields are selected cor-
rectly, as shown in the following screenshot:
Why do we set it up in this way? This is because we want to have a UI graphic to
look as close to the source image as possible. However, we set the
Format
field
to
Truecolor
, which will make the size of the image larger than
Compress
, but
will show the right color of the UI graphics.
7. Next, we need to set up the
Layers
and
Tags
configurations; for this, go to
Edit
|
Project Settings
|
Tags
and set them as follows:
Tags
Element 0
UI
Element 1
Key
Element 2
RestartButton
Element 3
Floor