FixCultureEditor.cs 333 B

1234567891011121314151617
  1. using System.Globalization;
  2. using System.Threading;
  3. using UnityEngine;
  4. using UnityEditor;
  5. namespace WorldComposer
  6. {
  7. [InitializeOnLoad]
  8. public static class FixCultureEditor
  9. {
  10. static FixCultureEditor()
  11. {
  12. Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
  13. }
  14. }
  15. }