Exemplo n.º 1
0
 public void VaccineLevel2()
 {
     if (totalFunds >= 2000)
     {
         totalFunds    -= 2000;
         vaccinesPerSec = 500;
         VAC3.SetActive(true);
         MT3.SetActive(true);
     }
 }
Exemplo n.º 2
0
 public void InformationLevel2()
 {
     if (totalFunds >= 2000)
     {
         gameObject.GetComponent <Plague>().insideChance  *= 0.8f;
         gameObject.GetComponent <Plague>().outsideChance *= 0.8f;
         totalFunds -= 2000;
         I3.SetActive(true);
         MT3.SetActive(true);
     }
 }
Exemplo n.º 3
0
 public void MoneyLevel2()
 {
     if (totalFunds >= 2000)
     {
         if (passiveIncome == 30)
         {
             passiveIncome += 50;
             totalFunds    -= 2000;
             MB3.SetActive(true);
             MT3.SetActive(true);
         }
     }
 }