Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

FormattingException: Error parsing format string: Could not evaluate the selector "0" at 10

$
0
0
Hello!
What am I doing wrong?


Code (CSharp):
  1.    var table = UnityEngine.Localization.Settings.LocalizationSettings.StringDatabase.GetLocalizedStringAsync(Loc.MAIN_TABLE, "board_mistakes");
  2.         table.Completed += (x) =>
  3.         {
  4.             mistakeText.text = Smart.Format(x.Result, value) + "/" + maxMistake;
  5.         };
throw error

Code (CSharp):
  1. FormattingException: Error parsing format string: Could not evaluate the selector "0" at 10
  2. Mistakes {0}
  3. ----------^...
FormattingException: Error parsing format string: Could not evaluate the selector "0" at 10

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>