Skip to content

Commit

Permalink
➖ Remove scene manager auto-save
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco authored Sep 24, 2023
1 parent 90ccb92 commit 701dc37
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Runtime/codebase/Exporters/WebGLTemplatesExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
using UnityEngine;
using UnityEditor;
using System.IO;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;

/// Inspired by Author: Jonas Hahn, Source: https://github.com/Woody4618/Solana.Unity-SDK/blob/main/Runtime/codebase/WebGLTemplatePostProcessor.cs

Expand Down Expand Up @@ -82,14 +80,10 @@ private static void OnScriptsReloaded()
Vector2.zero);
PlayerSettings.SplashScreen.background = backgroundSprite;
}


// Save the changes
EditorSceneManager.MarkSceneDirty(SceneManager.GetActiveScene());
}
}
}

}

#endif
#endif

0 comments on commit 701dc37

Please sign in to comment.