// Use this for initialization void Start() { string path = @"FileXML\questions.xml"; xmlDocumetnDataObject = new XmlDocumetnDataObject(); questions = xmlDocumetnDataObject.GetAllQuestions(path); Singleton.QuizManager.questions = this.questions; }