예제 #1
0
    public void ZerarInimigos()
    {
        Nv01Mina01.SetActive(false);
        Nv01Mina02.SetActive(false);
        Nv01Mina03.SetActive(false);
        Nv01Mina04.SetActive(false);
        Nv01Mina05.SetActive(false);
        Nv01Mina06.SetActive(false);

        Nv02Mina01.SetActive(false);
        Nv02Mina02.SetActive(false);
        Nv02Mina03.SetActive(false);
        Nv02Mina04.SetActive(false);
        Nv02Mina05.SetActive(false);
        Nv02Mina06.SetActive(false);

        Nv03Miss01.SetActive(false);
        Nv03Miss02.SetActive(false);
        Nv03Miss03.SetActive(false);
        Nv03Miss04.SetActive(false);
        Nv03Miss05.SetActive(false);
        Nv03Miss06.SetActive(false);

        Nv03Miss01B.SetActive(false);
        Nv03Miss02B.SetActive(false);
        Nv03Miss03B.SetActive(false);
        Nv03Miss04B.SetActive(false);
        Nv03Miss05B.SetActive(false);
        Nv03Miss06B.SetActive(false);

        Nv04Disc01.SetActive(false);
        Nv04Disc02.SetActive(false);
        Nv04Disc03.SetActive(false);
        Nv04Disc04.SetActive(false);
        Nv04Disc05.SetActive(false);
        Nv04Disc06.SetActive(false);

        Nv04Disc01B.SetActive(false);
        Nv04Disc02B.SetActive(false);
        Nv04Disc03B.SetActive(false);
        Nv04Disc04B.SetActive(false);
        Nv04Disc05B.SetActive(false);
        Nv04Disc06B.SetActive(false);

        Nv05Disc01.SetActive(false);
        Nv05Disc02.SetActive(false);
        Nv05Disc03.SetActive(false);
        Nv05Disc04.SetActive(false);
        Nv05Disc05.SetActive(false);
        Nv05Disc06.SetActive(false);

        Nv05Disc01B.SetActive(false);
        Nv05Disc02B.SetActive(false);
        Nv05Disc03B.SetActive(false);
        Nv05Disc04B.SetActive(false);
        Nv05Disc05B.SetActive(false);
        Nv05Disc06B.SetActive(false);
    }
예제 #2
0
    public void DesativarRadarInimigo()
    {
        //Nivel 01
        if (idQuestão == "189")
        {
            Nv01Mina01.SetActive(false);
            Nv01Mina02.SetActive(false);
            Nv01Mina03.SetActive(false);
            Nv01Mina04.SetActive(false);
            Nv01Mina05.SetActive(false);
            Nv01Mina06.SetActive(false);
        }

        if (idQuestão == "190")
        {
            Nv01Mina02.SetActive(false);
            Nv01Mina01.SetActive(false);
            Nv01Mina03.SetActive(false);
            Nv01Mina04.SetActive(false);
            Nv01Mina05.SetActive(false);
            Nv01Mina06.SetActive(false);
        }

        if (idQuestão == "191")
        {
            Nv01Mina03.SetActive(false);
            Nv01Mina01.SetActive(false);
            Nv01Mina02.SetActive(false);
            Nv01Mina04.SetActive(false);
            Nv01Mina05.SetActive(false);
            Nv01Mina06.SetActive(false);
        }

        if (idQuestão == "192")
        {
            Nv01Mina04.SetActive(false);
            Nv01Mina01.SetActive(false);
            Nv01Mina02.SetActive(false);
            Nv01Mina03.SetActive(false);
            Nv01Mina05.SetActive(false);
            Nv01Mina06.SetActive(false);
        }

        if (idQuestão == "193")
        {
            Nv01Mina05.SetActive(false);
            Nv01Mina01.SetActive(false);
            Nv01Mina02.SetActive(false);
            Nv01Mina03.SetActive(false);
            Nv01Mina04.SetActive(false);
            Nv01Mina06.SetActive(false);
        }

        if (idQuestão == "194")
        {
            Nv01Mina06.SetActive(false);
            Nv01Mina01.SetActive(false);
            Nv01Mina02.SetActive(false);
            Nv01Mina03.SetActive(false);
            Nv01Mina04.SetActive(false);
            Nv01Mina05.SetActive(false);
        }

        //Nivel 02
        if (idQuestão == "195")
        {
            Nv02Mina01.SetActive(false);
            Nv02Mina02.SetActive(false);
            Nv02Mina03.SetActive(false);
            Nv02Mina04.SetActive(false);
            Nv02Mina05.SetActive(false);
            Nv02Mina06.SetActive(false);
        }

        if (idQuestão == "196")
        {
            Nv02Mina02.SetActive(false);
            Nv02Mina01.SetActive(false);
            Nv02Mina03.SetActive(false);
            Nv02Mina04.SetActive(false);
            Nv02Mina05.SetActive(false);
            Nv02Mina06.SetActive(false);
        }

        if (idQuestão == "197")
        {
            Nv02Mina03.SetActive(false);
            Nv02Mina01.SetActive(false);
            Nv02Mina02.SetActive(false);
            Nv02Mina04.SetActive(false);
            Nv02Mina05.SetActive(false);
            Nv02Mina06.SetActive(false);
        }

        if (idQuestão == "198")
        {
            Nv02Mina04.SetActive(false);
            Nv02Mina01.SetActive(false);
            Nv02Mina02.SetActive(false);
            Nv02Mina03.SetActive(false);
            Nv02Mina05.SetActive(false);
            Nv02Mina06.SetActive(false);
        }

        if (idQuestão == "199")
        {
            Nv02Mina05.SetActive(false);
            Nv02Mina01.SetActive(false);
            Nv02Mina02.SetActive(false);
            Nv02Mina03.SetActive(false);
            Nv02Mina04.SetActive(false);
            Nv02Mina06.SetActive(false);
        }

        if (idQuestão == "200")
        {
            Nv02Mina06.SetActive(false);
            Nv02Mina01.SetActive(false);
            Nv02Mina02.SetActive(false);
            Nv02Mina03.SetActive(false);
            Nv02Mina04.SetActive(false);
            Nv02Mina05.SetActive(false);
        }

        //Nivel 03
        if (idQuestão == "201")
        {
            Nv03Miss01B.SetActive(true);

            Nv03Miss02B.SetActive(false);
            Nv03Miss03B.SetActive(false);
            Nv03Miss04B.SetActive(false);
            Nv03Miss05B.SetActive(false);
            Nv03Miss06B.SetActive(false);

            Nv03Miss01.SetActive(false);
            Nv03Miss02.SetActive(false);
            Nv03Miss03.SetActive(false);
            Nv03Miss04.SetActive(false);
            Nv03Miss05.SetActive(false);
            Nv03Miss06.SetActive(false);
        }

        if (idQuestão == "202")
        {
            Nv03Miss02B.SetActive(true);

            Nv03Miss01B.SetActive(false);
            Nv03Miss03B.SetActive(false);
            Nv03Miss04B.SetActive(false);
            Nv03Miss05B.SetActive(false);
            Nv03Miss06B.SetActive(false);

            Nv03Miss02.SetActive(false);
            Nv03Miss01.SetActive(false);
            Nv03Miss03.SetActive(false);
            Nv03Miss04.SetActive(false);
            Nv03Miss05.SetActive(false);
            Nv03Miss06.SetActive(false);
        }

        if (idQuestão == "203")
        {
            Nv03Miss03B.SetActive(true);

            Nv03Miss01B.SetActive(false);
            Nv03Miss02B.SetActive(false);
            Nv03Miss04B.SetActive(false);
            Nv03Miss05B.SetActive(false);
            Nv03Miss06B.SetActive(false);

            Nv03Miss03.SetActive(false);
            Nv03Miss01.SetActive(false);
            Nv03Miss02.SetActive(false);
            Nv03Miss04.SetActive(false);
            Nv03Miss05.SetActive(false);
            Nv03Miss06.SetActive(false);
        }

        if (idQuestão == "204")
        {
            Nv03Miss04B.SetActive(true);

            Nv03Miss01B.SetActive(false);
            Nv03Miss02B.SetActive(false);
            Nv03Miss03B.SetActive(false);
            Nv03Miss05B.SetActive(false);
            Nv03Miss06B.SetActive(false);

            Nv03Miss04.SetActive(false);
            Nv03Miss01.SetActive(false);
            Nv03Miss02.SetActive(false);
            Nv03Miss03.SetActive(false);
            Nv03Miss05.SetActive(false);
            Nv03Miss06.SetActive(false);
        }

        if (idQuestão == "205")
        {
            Nv03Miss05B.SetActive(true);

            Nv03Miss01B.SetActive(false);
            Nv03Miss02B.SetActive(false);
            Nv03Miss03B.SetActive(false);
            Nv03Miss04B.SetActive(false);
            Nv03Miss06B.SetActive(false);

            Nv03Miss05.SetActive(false);
            Nv03Miss01.SetActive(false);
            Nv03Miss02.SetActive(false);
            Nv03Miss03.SetActive(false);
            Nv03Miss04.SetActive(false);
            Nv03Miss06.SetActive(false);
        }

        if (idQuestão == "206")
        {
            Nv03Miss06B.SetActive(true);

            Nv03Miss01B.SetActive(false);
            Nv03Miss02B.SetActive(false);
            Nv03Miss03B.SetActive(false);
            Nv03Miss04B.SetActive(false);
            Nv03Miss05B.SetActive(false);

            Nv03Miss06.SetActive(false);
            Nv03Miss01.SetActive(false);
            Nv03Miss02.SetActive(false);
            Nv03Miss03.SetActive(false);
            Nv03Miss04.SetActive(false);
            Nv03Miss05.SetActive(false);
        }

        //Nivel 04
        if (idQuestão == "207")
        {
            Nv04Disc01B.SetActive(true);

            Nv04Disc02B.SetActive(false);
            Nv04Disc03B.SetActive(false);
            Nv04Disc04B.SetActive(false);
            Nv04Disc05B.SetActive(false);
            Nv04Disc06B.SetActive(false);

            Nv04Disc01.SetActive(false);
            Nv04Disc02.SetActive(false);
            Nv04Disc03.SetActive(false);
            Nv04Disc04.SetActive(false);
            Nv04Disc05.SetActive(false);
            Nv04Disc06.SetActive(false);
        }

        if (idQuestão == "208")
        {
            Nv04Disc02B.SetActive(true);

            Nv04Disc01B.SetActive(false);
            Nv04Disc03B.SetActive(false);
            Nv04Disc04B.SetActive(false);
            Nv04Disc05B.SetActive(false);
            Nv04Disc06B.SetActive(false);

            Nv04Disc02.SetActive(false);
            Nv04Disc01.SetActive(false);
            Nv04Disc03.SetActive(false);
            Nv04Disc04.SetActive(false);
            Nv04Disc05.SetActive(false);
            Nv04Disc06.SetActive(false);
        }

        if (idQuestão == "209")
        {
            Nv04Disc03B.SetActive(true);

            Nv04Disc01B.SetActive(false);
            Nv04Disc02B.SetActive(false);
            Nv04Disc04B.SetActive(false);
            Nv04Disc05B.SetActive(false);
            Nv04Disc06B.SetActive(false);

            Nv04Disc03.SetActive(false);
            Nv04Disc01.SetActive(false);
            Nv04Disc02.SetActive(false);
            Nv04Disc04.SetActive(false);
            Nv04Disc05.SetActive(false);
            Nv04Disc06.SetActive(false);
        }

        if (idQuestão == "210")
        {
            Nv04Disc04B.SetActive(true);

            Nv04Disc01B.SetActive(false);
            Nv04Disc02B.SetActive(false);
            Nv04Disc03B.SetActive(false);
            Nv04Disc05B.SetActive(false);
            Nv04Disc06B.SetActive(false);

            Nv04Disc04.SetActive(false);
            Nv04Disc01.SetActive(false);
            Nv04Disc02.SetActive(false);
            Nv04Disc03.SetActive(false);
            Nv04Disc05.SetActive(false);
            Nv04Disc06.SetActive(false);
        }

        if (idQuestão == "211")
        {
            Nv04Disc05B.SetActive(true);

            Nv04Disc01B.SetActive(false);
            Nv04Disc02B.SetActive(false);
            Nv04Disc03B.SetActive(false);
            Nv04Disc04B.SetActive(false);
            Nv04Disc06B.SetActive(false);
        }

        if (idQuestão == "212")
        {
            Nv04Disc06B.SetActive(true);

            Nv04Disc01B.SetActive(false);
            Nv04Disc02B.SetActive(false);
            Nv04Disc03B.SetActive(false);
            Nv04Disc04B.SetActive(false);
            Nv04Disc05B.SetActive(false);

            Nv04Disc06.SetActive(false);
            Nv04Disc01.SetActive(false);
            Nv04Disc02.SetActive(false);
            Nv04Disc03.SetActive(false);
            Nv04Disc04.SetActive(false);
            Nv04Disc05.SetActive(false);
        }

        //Nivel 05
        if (idQuestão == "213")
        {
            Nv05Disc01B.SetActive(true);

            Nv05Disc02B.SetActive(false);
            Nv05Disc03B.SetActive(false);
            Nv05Disc04B.SetActive(false);
            Nv05Disc05B.SetActive(false);
            Nv05Disc06B.SetActive(false);

            Nv05Disc01.SetActive(false);
            Nv05Disc02.SetActive(false);
            Nv05Disc03.SetActive(false);
            Nv05Disc04.SetActive(false);
            Nv05Disc05.SetActive(false);
            Nv05Disc06.SetActive(false);
        }

        if (idQuestão == "214")
        {
            Nv05Disc02B.SetActive(true);

            Nv05Disc01B.SetActive(false);
            Nv05Disc03B.SetActive(false);
            Nv05Disc04B.SetActive(false);
            Nv05Disc05B.SetActive(false);
            Nv05Disc06B.SetActive(false);

            Nv05Disc02.SetActive(false);
            Nv05Disc01.SetActive(false);
            Nv05Disc03.SetActive(false);
            Nv05Disc04.SetActive(false);
            Nv05Disc05.SetActive(false);
            Nv05Disc06.SetActive(false);
        }

        if (idQuestão == "215")
        {
            Nv05Disc03B.SetActive(true);

            Nv05Disc01B.SetActive(false);
            Nv05Disc02B.SetActive(false);
            Nv05Disc04B.SetActive(false);
            Nv05Disc05B.SetActive(false);
            Nv05Disc06B.SetActive(false);

            Nv05Disc03.SetActive(false);
            Nv05Disc01.SetActive(false);
            Nv05Disc02.SetActive(false);
            Nv05Disc04.SetActive(false);
            Nv05Disc05.SetActive(false);
            Nv05Disc06.SetActive(false);
        }

        if (idQuestão == "216")
        {
            Nv05Disc04B.SetActive(true);

            Nv05Disc01B.SetActive(false);
            Nv05Disc02B.SetActive(false);
            Nv05Disc03B.SetActive(false);
            Nv05Disc05B.SetActive(false);
            Nv05Disc06B.SetActive(false);

            Nv05Disc04.SetActive(false);
            Nv05Disc01.SetActive(false);
            Nv05Disc02.SetActive(false);
            Nv05Disc03.SetActive(false);
            Nv05Disc05.SetActive(false);
            Nv05Disc06.SetActive(false);
        }

        if (idQuestão == "217")
        {
            Nv05Disc05B.SetActive(true);

            Nv05Disc01B.SetActive(false);
            Nv05Disc02B.SetActive(false);
            Nv05Disc03B.SetActive(false);
            Nv05Disc04B.SetActive(false);
            Nv05Disc06B.SetActive(false);

            Nv05Disc05.SetActive(false);
            Nv05Disc01.SetActive(false);
            Nv05Disc02.SetActive(false);
            Nv05Disc03.SetActive(false);
            Nv05Disc04.SetActive(false);
            Nv05Disc06.SetActive(false);
        }

        if (idQuestão == "218")
        {
            Nv05Disc06B.SetActive(true);

            Nv05Disc01B.SetActive(false);
            Nv05Disc02B.SetActive(false);
            Nv05Disc03B.SetActive(false);
            Nv05Disc04B.SetActive(false);
            Nv05Disc05B.SetActive(false);

            Nv05Disc06.SetActive(false);
            Nv05Disc01.SetActive(false);
            Nv05Disc02.SetActive(false);
            Nv05Disc03.SetActive(false);
            Nv05Disc04.SetActive(false);
            Nv05Disc05.SetActive(false);
        }
    }