Exemplo n.º 1
0
 // Used for powerup management
 public void powerUpUntil(int duration, Sprite puImage)
 {
     source.PlayOneShot(pickUpPowerSound, 1f);
     ui.applyPowerUp(duration, puImage);
     StartCoroutine(powerUpUntilRoutine(duration));
 }