using System.Collections; using UnityEngine; using UnityEngine.EventSystems; public class NewQuestion : QuestionCard { // Start is called before the first frame update void Start() { // Get question from server SetQuestionData(); } public void SetQuestionData() { GetQuestion(false); SetAnswerText("???? - ????"); } private static NewQuestion instance; public static NewQuestion Instance() { if (!instance) { instance = FindObjectOfType(typeof(NewQuestion)) as NewQuestion; if (!instance) { Debug.Log("There need to be at least one active GenericDialog on the screen"); } } return instance; } }