public void FullyLoad(List <PieceEvent> PieceEventsList) { //PieceEvents = new List<PieceEvent>(); //PieceEvents.Add(ResourcesMaster.PieceEvents[0]); PieceEvents = new List <PieceEvent>(); PieceEvents.AddRange(PieceEventsList); OngoingManagerEvent = PieceEvents[0]; Index = 0; MaxIndex = PieceEvents.Count - 1; foreach (PieceEvent PE in PieceEvents) { PE.FullyLoad(); } Transform PanelsFather = transform.Find("Panels"); foreach (PanelText Tuple in PieceEvents[0].Description) { TextManager TextManager = PanelsFather.Find(Tuple.PanelName).Find("Text").GetComponent <TextManager>(); TextManager.ChangeText(Tuple.Text); } //GameObject.Find("Text").GetComponent<Text>().text = "aaaa" + PieceEvents[0]; }