private void ExpandButton_Click(object sender, EventArgs e) { //Triggered when the user choses to expand a quizzes info //Form is closed formclosing = true; this.Close(); SelectedQuiz?.Invoke(this, ChosenQuiz, SelectedQuestions, SelectedQuestionsId); }
void Start () { DontDestroyOnLoad (gameObject); sInstance = this; }