March 2018
Beginner
336 pages
8h 6m
English
We will use the CucumberManManager script to keep track of the number of lives the Cucumber Man has remaining. Edit that script and make the following changes:
if (livesRemaining == 0) { anim = GetComponent<Animator> (); anim.Play ("CM_Die"); }
As you can see in the changes to our Update() method, we are simply checking ...
Read now
Unlock full access