Ejemplo n.º 1
0
 public void DeactivateSuperpower()
 {
     print("Deactivating superpower");
     if (hasShieldActivated)
     {
         shieldBar.resourceValue = shieldBar.GetMinValue();
     }
     hasShieldActivated    = false;
     hasJetpackActivated   = false;
     hasSuperjumpActivated = false;
     buttonControllers.DeactivateSuperpowerButton();
     superpower = 0;
     jetpackAudioSource.mute = true;
 }