using TMPro; public class NotiUI : uScrollViewMgr { public TextMeshProUGUI[] labels_msg; int index = 0; public void Add_Msg(string _msg) { if (index > labels_msg.Length - 1) index = 0; var label_big = labels_msg[index++]; if (!label_big.gameObject.activeInHierarchy) label_big.gameObject.SetActive(true); //MessageInfo.Ins.label_small.text = label_big.text = _msg; label_big.text = _msg; label_big.transform.parent = transform; } }