public void LoadTab() { if (tabRow.childCount <= 0) { return; } ChatTab newTab = tabRow.GetChild(0).GetComponent <ChatTab>(); if (newTab) { LoadTab(newTab.Data); } }