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); }
public static string TextosDoIdioma(ChavesDeTexto chave) { return(textos[idiomaAtual][chave]); }