Пример #1
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);
     }
 }
Пример #2
0
    public void Instructions2()
    {
        cmp_lvlSt.challengeActive = true;
        timerstart = true;

        if (tutoTimer >= 2 && tutoTimer < 3)
        {
            I3.SetActive(true);
            lion1.SetActive(true);
            lion2.SetActive(true);
        }
        if (tutoTimer >= 2)
        {
            if (lion1.activeInHierarchy == false && lion2.activeInHierarchy == false)
            {
                cmp_lvlSt.challengeActive = false;
            }
        }
    }