From 2890b7ec0fc8986a54ee127dc1623850ee654e87 Mon Sep 17 00:00:00 2001 From: Ertan Turan Date: Thu, 26 May 2022 17:51:56 +0300 Subject: [PATCH] cleaned ss scenery --- Assets/CustomTools/CustomPlayerPrefs/Scripts/Utility.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/CustomTools/CustomPlayerPrefs/Scripts/Utility.cs b/Assets/CustomTools/CustomPlayerPrefs/Scripts/Utility.cs index e2c5b0e..97dbee1 100644 --- a/Assets/CustomTools/CustomPlayerPrefs/Scripts/Utility.cs +++ b/Assets/CustomTools/CustomPlayerPrefs/Scripts/Utility.cs @@ -26,6 +26,8 @@ public static int IndexOf(this IEnumerable collection, Func predi public static async Task SaveToJsonAsync(T objectToSerialize, string fullPath) { + + string jsonString = JsonUtility.ToJson(objectToSerialize, true); using (StreamWriter streamWriter = new StreamWriter(fullPath))