public void setCT() { panel.SetActive(true); text.GetComponent <Text>().color = CT_TEXT_COLOR; panel.GetComponent <Image>().color = CT_PANEL_COLOR; text.GetComponent <Text>().text = LanguageSystem.GET_END_ROUND_PANEL_LABEL_CT_WIN(); panel.SetActive(true); }
IEnumerator setCT() { yield return(new WaitForEndOfFrame()); text.GetComponent <Text>().color = CT_TEXT_COLOR; panel.GetComponent <Image>().color = CT_PANEL_COLOR; text.GetComponent <Text>().text = LanguageSystem.GET_END_ROUND_PANEL_LABEL_CT_WIN(); }