diff --git a/Carter Games/Leaderboard Manager/Code/Editor/Utility/AssetVersionData.cs b/Carter Games/Leaderboard Manager/Code/Editor/Utility/AssetVersionData.cs index bbe66e0..ac62e87 100644 --- a/Carter Games/Leaderboard Manager/Code/Editor/Utility/AssetVersionData.cs +++ b/Carter Games/Leaderboard Manager/Code/Editor/Utility/AssetVersionData.cs @@ -31,7 +31,7 @@ public static class AssetVersionData /// /// The version number of the asset. /// - public static string VersionNumber => "2.2.1"; + public static string VersionNumber => "2.2.2"; /// @@ -40,6 +40,6 @@ public static class AssetVersionData /// /// Asset owner is in the UK, so its D/M/Y format. /// - public static string ReleaseDate => "16/05/2024"; + public static string ReleaseDate => "17/05/2024"; } } \ No newline at end of file diff --git a/Carter Games/Leaderboard Manager/Code/Runtime/Saving/FileSaveLocation.cs b/Carter Games/Leaderboard Manager/Code/Runtime/Saving/FileSaveLocation.cs index 1f737bb..f7c2c92 100644 --- a/Carter Games/Leaderboard Manager/Code/Runtime/Saving/FileSaveLocation.cs +++ b/Carter Games/Leaderboard Manager/Code/Runtime/Saving/FileSaveLocation.cs @@ -23,6 +23,9 @@ using System; using System.IO; +#if UNITY_WEBGL && !UNITY_EDITOR +using UnityEngine; +#endif namespace CarterGames.Assets.LeaderboardManager.Save { @@ -90,7 +93,6 @@ public void Save(string json) // Nothing } - #if UNITY_WEBGL && !UNITY_EDITOR Application.ExternalEval("_JS_FileSystem_Sync();"); #endif