void Awake() { ui = (QuestionaireUI)useriinterface; data = (DataToCollect)dataToCollect; data.Init(); }
public void EditorBuild(int i) { #if UNITY_EDITOR ui = (QuestionaireUI)useriinterface; data = (DataToCollect)dataToCollect; data.Init(); #endif string referenceName = data.questionaire.parts[i].referenceName; Build(referenceName); }