public static void AutoScrollChat(CUITextList textList) { if (textList.TotalLines * 16f < textList.paragraphHistory) { TranslateLocalY(textList.gameObject, 16f); } }