// Use this for initialization
 void Start()
 {
     GetComponent <Text>().text = string.Format(
         "LANGUAGE ID: {0} \n" +
         "LANGUAGE: {1} \n " +
         "REGION: {2} \n " +
         "CURRENCY CODE: {3} \n " +
         "CURRENCY SYMBOL: {4}",
         PreciseLocale.GetLanguageID(),
         PreciseLocale.GetLanguage(),
         PreciseLocale.GetRegion(),
         PreciseLocale.GetCurrencyCode(),
         PreciseLocale.GetCurrencySymbol()
         );
 }
Ejemplo n.º 2
0
 private void Start()
 {
     GetComponent <Text>().text = $"LANGUAGE ID: {PreciseLocale.GetLanguageID()} \nLANGUAGE: {PreciseLocale.GetLanguage()} \n REGION: {PreciseLocale.GetRegion()} \n CURRENCY CODE: {PreciseLocale.GetCurrencyCode()} \n CURRENCY SYMBOL: {PreciseLocale.GetCurrencySymbol()}";
 }