Ejemplo n.º 1
0
    public void StudentLevelQuiz()
    {
        key   = 0;
        quote = "";
        MobileController.SetActive(false);
        LockKeyParent.SetActive(false);
        LockKeyCount.SetActive(false);

        KeyLockContainer.SetActive(true);
        key   = Random.Range(0, 11);
        quote = Lessons [key].GetComponentInChildren <Text>().text;

        keyQuote.text = "\" " + quote + " \"";
        Debug.Log(key);
        Debug.Log(quote);
        Debug.Log(randomList.IndexOf(key));
    }
Ejemplo n.º 2
0
    public void EntreprenuerLevelQuiz()
    {
        key   = 0;
        quote = "";

        MobileController.SetActive(false);
        LockKeyParent.SetActive(false);
        LockKeyCount.SetActive(false);

        KeyLockContainer.SetActive(true);
        key   = Random.Range(0, 11);
        quote = levelThree[key].ToLower();
        quoteImageEnt.GetComponent <Image>().sprite = quoteImageGroupEnt[key];

        keyQuote.text = "\" " + quote + " \"";
        Debug.Log(key);
        Debug.Log(quote);
        Debug.Log(randomList.IndexOf(key));
    }