Game Development Reference
In-Depth Information
uiText
To show the titles, I used two text components and set one of them to display
Ammo
and
the other to display
Score
.
Then, I added two other text components to display the values themselves, which are
0
right now.
Finally, I added a directional light as we have done earlier to show the text in the scene
view.
In the graph view, I've added two integer variables (which are
ammo
and
score
) to store
and control the UI values.
Search WWH ::
Custom Search