Ejemplo n.º 1
0
 public void AddFirefly(int count = 1)
 {
     flyCountBar.Increment(count);
     if (flyCountBar.ReachedMax())
     {
         if (!superModeButton.enabled)
         {
             superModeButton.enabled = true;
             //start flashing animation on button so the player knows they can use it.
             superModeButtonAnimation.Play("ButtonPulse");
         }
     }
 }