예제 #1
0
    private void potionSet()
    {
        //Check if it can check it's potion level
        if (potionLevel > 0)
        {
            --potionLevel;
            //If it can, update one of the potion level stuff
            switch (potionLevel)
            {
            case 2:
                Clues1.SetActive(false);
                break;

            case 1:
                Clues2.SetActive(false);
                break;

            case 0:
                Clues3.SetActive(false);
                break;
            }
            StartCoroutine(ShowSubMenu(timeTextKeysOtherTimes));
            currentTime += timeTextKeysOtherTimes;
        }
    }
예제 #2
0
    private void setValues()
    {
        //Set all game Lifes
        Life1.SetActive(true);
        Life2.SetActive(true);
        Life3.SetActive(true);

        // Set all flasks
        Clues1.SetActive(true);
        Clues2.SetActive(true);
        Clues3.SetActive(true);
    }