// Use this for initialization void Start() { // Locate the class in scene _feedbackWindow = GameObject.Find("FeedbackPanel").GetComponent <FeedbackWindow>(); // setup the window _feedbackWindow.Setup(SendFeedbackPressed); ElasticEmailClient.Details = new ElasticEmailDetails(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty); }