void Awake() { //HightScorePhysics = SaveSystem.system.Quiz_Phy; HightScorePhysics = PlayerPrefs.GetInt("Phy"); script2 = QuestionPanel.GetComponent <TheQuestion>(); gameObject.GetComponentInChildren <Text>().text = "IQ: " + HightScorePhysics; }
void Awake() { // HightScoreChemistry = SaveSystem.system.Quiz_Chem; HightScoreChemistry = PlayerPrefs.GetInt("chem"); script2 = QuestionPanel.GetComponent <TheQuestion>(); gameObject.GetComponentInChildren <Text>().text = "IQ: " + HightScoreChemistry; }
void Awake() { // SaveSystem.system.Load(); //ightScoreBiology = SaveSystem.system.Quiz_Bio; HightScoreBiology = PlayerPrefs.GetInt("Bio"); script2 = QuestionPanel.GetComponent <TheQuestion>(); gameObject.GetComponentInChildren <Text>().text = "IQ: " + HightScoreBiology; }
void Start() { script2 = QuestionPanel.GetComponent <TheQuestion>(); script1 = GameObject.Find("Questions").GetComponent <QuestionsScript>(); }
void Awake() { script3 = GameObject.Find("QuestionPanel").GetComponent <TheQuestion>(); }