Skip to content

Commit

Permalink
Merge pull request #2891 from bhallionOhbibi/master
Browse files Browse the repository at this point in the history
Disabling GPGSUpgrader automatic process whe pressing Play in Editor mode
  • Loading branch information
ozdemir08 authored May 14, 2020
2 parents eeb962a + 9ae7eb0 commit 61731c6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class GPGSUpgrader
/// </summary>
static GPGSUpgrader()
{
if (EditorApplication.isPlayingOrWillChangePlaymode)
return;
Debug.Log("GPGSUpgrader start");
string initialVer = GPGSProjectSettings.Instance.Get(GPGSUtil.LASTUPGRADEKEY, "00000");
if (!initialVer.Equals(PluginVersion.VersionKey))
Expand Down

0 comments on commit 61731c6

Please sign in to comment.