Skip to content

Commit

Permalink
Remove API upgrade prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanbayatme committed Apr 19, 2022
1 parent 392a7d2 commit 879b55a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Assets/Plugins/Bayat/SaveSystem/Editor/WelcomeWindow.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using Bayat.Core.EditorWindows;

using UnityEditor;

using UnityEngine;

namespace Bayat.SaveSystem
Expand Down Expand Up @@ -60,9 +62,10 @@ private static void CheckScriptingRuntime()
return;
}
#endif
if (PlayerSettings.GetApiCompatibilityLevel(BuildPipeline.GetBuildTargetGroup(EditorUserBuildSettings.activeBuildTarget)) != ApiCompatibilityLevel.NET_4_6)
var currentCompatiblityLevel = PlayerSettings.GetApiCompatibilityLevel(BuildPipeline.GetBuildTargetGroup(EditorUserBuildSettings.activeBuildTarget));
if (currentCompatiblityLevel != ApiCompatibilityLevel.NET_4_6)
{
UpdateScriptingRuntime();
//UpdateScriptingRuntime();
}
}

Expand Down
2 changes: 1 addition & 1 deletion Assets/Plugins/Bayat/SaveSystem/Runtime/PluginVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static class PluginVersion
/// <summary>
/// The plugin's version.
/// </summary>
public static readonly Version Version = new Version(1, 20, 1);
public static readonly Version Version = new Version(1, 20, 2);

}

Expand Down

0 comments on commit 879b55a

Please sign in to comment.