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