public void F**k() { script1 = SecondPanel.GetComponentInChildren <PictureTransition>(); script = GameObject.Find("Questions").GetComponent <QuestionsScript>(); himiq = Himiqq.GetComponent <ChemistryTopic>().Himiq; fizika = Fizikaa.GetComponent <PhysicsTopic>().Fizika; biologiq = Biologiqq.GetComponent <BiologyTopic>().Biologiq; text = gameObject.GetComponentInChildren <Text>(); Nastroika(); script1.SmqnaSnimka(); }
void Start() { script2 = QuestionPanel.GetComponent <TheQuestion>(); script1 = GameObject.Find("Questions").GetComponent <QuestionsScript>(); }
// Use this for initialization void Awake() { singleton = this; StartCoroutine(LoadAllQuestionsCoroutine()); }