From 1de9864479f4b4f2181e44159304a2ccd2d0c7db Mon Sep 17 00:00:00 2001 From: Vangos Pterneas Date: Tue, 2 Apr 2019 13:33:19 +0300 Subject: [PATCH] Supports invariant culture settings. --- .../Plugins/LightBuzz.Settings.dll | Bin 7168 -> 7168 bytes .../LightBuzz.Settings.Unity/Settings.cs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/LightBuzz.Settings.Unity.Demo/Assets/LightBuzz_Settings/Plugins/LightBuzz.Settings.dll b/LightBuzz.Settings.Unity.Demo/Assets/LightBuzz_Settings/Plugins/LightBuzz.Settings.dll index 3e2100782905fbb8f4d4ebd3d348cc390f8236bf..beeb4d97fafc10fe1d155192dbf63f540263fe9c 100644 GIT binary patch delta 837 zcmZXSO=uHQ5XWcUZr*OQ>Edp`&~7F1E1NXhYD5BpwGc&xT&zJ94^odF;>W2-Nh-8f z8lho}rO-ryPUBi#h0kGN4%HexNt(Sp87 z2H9>0cXfcn46@B&@n6f`9b}40w%c3o=>YdL$aXtO^KK2&{K*3hvfTtHgK_#=WVhBV z1r=J?e?3OH2ixr+Ev&V*o1@IILyUh?u443)vZhG*s?L%AR9H8F_1QMfr2E zNMFKs(pTh;V;vHtZ{Z;6I}eSk$}+5Z1!EakeJzrZ+isPP)s8gsXPz83UQ~NNT=90kc2ULEcEt;^0|J>WcA aiS^@>H`_PsoBe+j@ht6IJHBIORQn5a&yA=6 delta 832 zcmZXSOK1~e5XWb}-TgMrCaJqNN=@+ zMM(+?i%L+$2ZF^ntLV*(P^gN%dDdeuDtM_UXPSq^EbRPe|MT17o8fcDoUzI^<=$+z zTH1-vtIH>G+C_|Mg9iYj?tnDyl?3Od<_TMjX|1++{Yl>P4H}eoN$W_>djKU zLVNhH$0+w;yB(xOwYD~wVul@Jyrc3C?pjx`DiYoS$0da$Zsy;W`;`AyJn1`w!;fh% z05@S(Jpu-NXnoljfJqvVYoA2~Lonl&x-vMvAud4;R^c}Mf*g**HyFSNfSAN(*dXTx zn3%)2&`a?>)pEE3af)AHKgF-EX3Q!jxZ%zjx3JPQg5D?sWa(;WdjO74O-vbyM5Oy?_pvv%^-Ox?<1_D6j}L=a8W)}ay6c_~ bN3h~v4=+|zsu$Y!M-ea6p1I=(R#W<4%^Quv diff --git a/LightBuzz.Settings.Unity/LightBuzz.Settings.Unity/Settings.cs b/LightBuzz.Settings.Unity/LightBuzz.Settings.Unity/Settings.cs index aeef512..52b3603 100644 --- a/LightBuzz.Settings.Unity/LightBuzz.Settings.Unity/Settings.cs +++ b/LightBuzz.Settings.Unity/LightBuzz.Settings.Unity/Settings.cs @@ -32,7 +32,7 @@ public static void Initialize(string root) /// The content of the setting. public static void Set(string key, T value) { - PlayerPrefsEx.Instance.Set(key, Convert.ToString(value)); + PlayerPrefsEx.Instance.Set(key, Convert.ToString(value, CultureInfo.InvariantCulture)); } ///