Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 1fac920

Browse files
📦 2.2.2 Release - Merge pull request #5 from CarterGames/2.2.x
🔧 WebGL build fix
2 parents 181a461 + a3446f3 commit 1fac920

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Carter Games/Leaderboard Manager/Code/Editor/Utility/AssetVersionData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static class AssetVersionData
3131
/// <summary>
3232
/// The version number of the asset.
3333
/// </summary>
34-
public static string VersionNumber => "2.2.1";
34+
public static string VersionNumber => "2.2.2";
3535

3636

3737
/// <summary>
@@ -40,6 +40,6 @@ public static class AssetVersionData
4040
/// <remarks>
4141
/// Asset owner is in the UK, so its D/M/Y format.
4242
/// </remarks>
43-
public static string ReleaseDate => "16/05/2024";
43+
public static string ReleaseDate => "17/05/2024";
4444
}
4545
}

Carter Games/Leaderboard Manager/Code/Runtime/Saving/FileSaveLocation.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
using System;
2525
using System.IO;
26+
#if UNITY_WEBGL && !UNITY_EDITOR
27+
using UnityEngine;
28+
#endif
2629

2730
namespace CarterGames.Assets.LeaderboardManager.Save
2831
{
@@ -90,7 +93,6 @@ public void Save(string json)
9093
// Nothing
9194
}
9295

93-
9496
#if UNITY_WEBGL && !UNITY_EDITOR
9597
Application.ExternalEval("_JS_FileSystem_Sync();");
9698
#endif

0 commit comments

Comments
 (0)