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)); }
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)); }