Ejemplo n.º 1
0
    public static ChavesDeTexto StringParaChaveDeTexto(string s)
    {
        ChavesDeTexto C = AuxiliarDeEnum.StringParaEnum <ChavesDeTexto>(s);

        if (C == ChavesDeTexto.nulo)
        {
            Debug.LogError("A chave de textofoi considerada nula");
        }

        return(C);
    }
Ejemplo n.º 2
0
 public static string TextosDoIdioma(ChavesDeTexto chave)
 {
     return(textos[idiomaAtual][chave]);
 }