コード例 #1
0
 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;
 }
コード例 #3
0
    void Awake()
    {
        // SaveSystem.system.Load();
        //ightScoreBiology = SaveSystem.system.Quiz_Bio;

        HightScoreBiology = PlayerPrefs.GetInt("Bio");

        script2 = QuestionPanel.GetComponent <TheQuestion>();
        gameObject.GetComponentInChildren <Text>().text = "IQ: " + HightScoreBiology;
    }
コード例 #4
0
 void Start()
 {
     script2 = QuestionPanel.GetComponent <TheQuestion>();
     script1 = GameObject.Find("Questions").GetComponent <QuestionsScript>();
 }
コード例 #5
0
 void Awake()
 {
     script3 = GameObject.Find("QuestionPanel").GetComponent <TheQuestion>();
 }