コード例 #1
0
    public void ZerarImagem()
    {
        S01.SetActive(false);
        S02.SetActive(false);
        S03.SetActive(false);
        S04.SetActive(false);
        S05.SetActive(false);
        S06.SetActive(false);
        S07.SetActive(false);
        S08.SetActive(false);

        D01.SetActive(false);
        D02.SetActive(false);
        D03.SetActive(false);
        D04.SetActive(false);
        D05.SetActive(false);
        D06.SetActive(false);
        D07.SetActive(false);
        D08.SetActive(false);

        M01.SetActive(false);
        M02.SetActive(false);
        M03.SetActive(false);
        M04.SetActive(false);
        M05.SetActive(false);
        M06.SetActive(false);
        M07.SetActive(false);
        M08.SetActive(false);
    }
コード例 #2
0
    public void testarImagem()
    {
        if (idQuestão == "172")
        {
            S01.SetActive(true);

            S02.SetActive(false);
            S03.SetActive(false);
            S04.SetActive(false);
            S05.SetActive(false);
            S06.SetActive(false);
            S07.SetActive(false);
            S08.SetActive(false);
        }
        if (idQuestão == "170")
        {
            S02.SetActive(true);

            S01.SetActive(false);
            S03.SetActive(false);
            S04.SetActive(false);
            S05.SetActive(false);
            S06.SetActive(false);
            S07.SetActive(false);
            S08.SetActive(false);
        }
        if (idQuestão == "171")
        {
            S03.SetActive(true);

            S01.SetActive(false);
            S02.SetActive(false);
            S04.SetActive(false);
            S05.SetActive(false);
            S06.SetActive(false);
            S07.SetActive(false);
            S08.SetActive(false);
        }
        if (idQuestão == "169")
        {
            S04.SetActive(true);

            S01.SetActive(false);
            S02.SetActive(false);
            S03.SetActive(false);
            S05.SetActive(false);
            S06.SetActive(false);
            S07.SetActive(false);
            S08.SetActive(false);
        }
        if (idQuestão == "168")
        {
            S05.SetActive(true);

            S01.SetActive(false);
            S02.SetActive(false);
            S03.SetActive(false);
            S04.SetActive(false);
            S06.SetActive(false);
            S07.SetActive(false);
            S08.SetActive(false);
        }
        if (idQuestão == "167")
        {
            S06.SetActive(true);

            S01.SetActive(false);
            S02.SetActive(false);
            S03.SetActive(false);
            S04.SetActive(false);
            S05.SetActive(false);
            S07.SetActive(false);
            S08.SetActive(false);
        }
        if (idQuestão == "166")
        {
            S07.SetActive(true);

            S01.SetActive(false);
            S02.SetActive(false);
            S03.SetActive(false);
            S04.SetActive(false);
            S05.SetActive(false);
            S06.SetActive(false);
            S08.SetActive(false);
        }
        if (idQuestão == "165")
        {
            S08.SetActive(true);

            S01.SetActive(false);
            S02.SetActive(false);
            S03.SetActive(false);
            S04.SetActive(false);
            S05.SetActive(false);
            S06.SetActive(false);
            S07.SetActive(false);
        }

        if (idQuestão == "173")
        {
            D01.SetActive(true);

            D02.SetActive(false);
            D03.SetActive(false);
            D04.SetActive(false);
            D05.SetActive(false);
            D06.SetActive(false);
            D07.SetActive(false);
            D08.SetActive(false);
        }
        if (idQuestão == "174")
        {
            D02.SetActive(true);

            D01.SetActive(false);
            D03.SetActive(false);
            D04.SetActive(false);
            D05.SetActive(false);
            D06.SetActive(false);
            D07.SetActive(false);
            D08.SetActive(false);
        }
        if (idQuestão == "175")
        {
            D03.SetActive(true);

            D01.SetActive(false);
            D02.SetActive(false);
            D04.SetActive(false);
            D05.SetActive(false);
            D06.SetActive(false);
            D07.SetActive(false);
            D08.SetActive(false);
        }
        if (idQuestão == "176")
        {
            D04.SetActive(true);

            D01.SetActive(false);
            D02.SetActive(false);
            D03.SetActive(false);
            D05.SetActive(false);
            D06.SetActive(false);
            D07.SetActive(false);
            D08.SetActive(false);
        }
        if (idQuestão == "177")
        {
            D05.SetActive(true);

            D01.SetActive(false);
            D02.SetActive(false);
            D03.SetActive(false);
            D04.SetActive(false);
            D06.SetActive(false);
            D07.SetActive(false);
            D08.SetActive(false);
        }
        if (idQuestão == "178")
        {
            D06.SetActive(true);

            D01.SetActive(false);
            D02.SetActive(false);
            D03.SetActive(false);
            D04.SetActive(false);
            D05.SetActive(false);
            D07.SetActive(false);
            D08.SetActive(false);
        }
        if (idQuestão == "179")
        {
            D07.SetActive(true);

            D01.SetActive(false);
            D02.SetActive(false);
            D03.SetActive(false);
            D04.SetActive(false);
            D05.SetActive(false);
            D06.SetActive(false);
            D08.SetActive(false);
        }
        if (idQuestão == "180")
        {
            D08.SetActive(true);

            D01.SetActive(false);
            D02.SetActive(false);
            D03.SetActive(false);
            D04.SetActive(false);
            D05.SetActive(false);
            D06.SetActive(false);
            D07.SetActive(false);
        }

        if (idQuestão == "181")
        {
            M01.SetActive(true);

            M02.SetActive(false);
            M03.SetActive(false);
            M04.SetActive(false);
            M05.SetActive(false);
            M06.SetActive(false);
            M07.SetActive(false);
            M08.SetActive(false);
        }
        if (idQuestão == "182")
        {
            M02.SetActive(true);

            M01.SetActive(false);
            M03.SetActive(false);
            M04.SetActive(false);
            M05.SetActive(false);
            M06.SetActive(false);
            M07.SetActive(false);
            M08.SetActive(false);
        }
        if (idQuestão == "183")
        {
            M03.SetActive(true);

            M01.SetActive(false);
            M02.SetActive(false);
            M04.SetActive(false);
            M05.SetActive(false);
            M06.SetActive(false);
            M07.SetActive(false);
            M08.SetActive(false);
        }
        if (idQuestão == "184")
        {
            M04.SetActive(true);

            M01.SetActive(false);
            M02.SetActive(false);
            M03.SetActive(false);
            M05.SetActive(false);
            M06.SetActive(false);
            M07.SetActive(false);
            M08.SetActive(false);
        }
        if (idQuestão == "185")
        {
            M05.SetActive(true);

            M01.SetActive(false);
            M02.SetActive(false);
            M03.SetActive(false);
            M04.SetActive(false);
            M06.SetActive(false);
            M07.SetActive(false);
            M08.SetActive(false);
        }
        if (idQuestão == "186")
        {
            M06.SetActive(true);

            M01.SetActive(false);
            M02.SetActive(false);
            M03.SetActive(false);
            M04.SetActive(false);
            M05.SetActive(false);
            M07.SetActive(false);
            M08.SetActive(false);
        }
        if (idQuestão == "187")
        {
            M07.SetActive(true);

            M01.SetActive(false);
            M02.SetActive(false);
            M03.SetActive(false);
            M04.SetActive(false);
            M05.SetActive(false);
            M06.SetActive(false);
            M08.SetActive(false);
        }
        if (idQuestão == "188")
        {
            M08.SetActive(true);

            M01.SetActive(false);
            M02.SetActive(false);
            M03.SetActive(false);
            M04.SetActive(false);
            M05.SetActive(false);
            M06.SetActive(false);
            M07.SetActive(false);
        }
    }