Game Development Reference
In-Depth Information
erate player multiple times. In addition to control scripts, the prefab needs other scripts
that specify player's health and how it can be reduced or increased. Therefore, we need
PlayerHealth script, shown in Listing 74, which represent the health as integer value than
can be changed through function calls.
Search WWH ::




Custom Search