public void setT() { panel.SetActive(true); text.GetComponent <Text>().color = T_TEXT_COLOR; panel.GetComponent <Image>().color = T_PANEL_COLOR; text.GetComponent <Text>().text = LanguageSystem.GET_END_ROUND_PANEL_LABEL_T_WIN(); panel.SetActive(true); }
IEnumerator setT() { yield return(new WaitForEndOfFrame()); text.GetComponent <Text>().color = T_TEXT_COLOR; panel.GetComponent <Image>().color = T_PANEL_COLOR; text.GetComponent <Text>().text = LanguageSystem.GET_END_ROUND_PANEL_LABEL_T_WIN(); }