Exemple #1
0
 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);
 }
Exemple #2
0
    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();
    }