🚧 saving of field parameters as json implemented
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using Babushka.scripts.CSharp.Common.Savegame;
|
||||
using Babushka.scripts.CSharp.Common.SceneManagement;
|
||||
using Babushka.scripts.CSharp.Common.Services;
|
||||
using Godot;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Common;
|
||||
@@ -16,6 +18,7 @@ public partial class SceneTransition : Node
|
||||
|
||||
public void LoadSceneAtIndex(int index)
|
||||
{
|
||||
SavegameService.Save();
|
||||
string sceneName = _sceneNamesToLoad[index];
|
||||
SceneTransitionThreaded.Instance.ChangeSceneToFileThreaded(sceneName);
|
||||
UnloadAfterDelay();
|
||||
|
||||
Reference in New Issue
Block a user