Game Development Reference
In-Depth Information
or of the cube must be green, and it gets closer to red as health value drops. This effect can
be achieved through
HealthColorChanger
script shown in Listing 76.