Skip to content

Commit

Permalink
Changes to test Memory
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonVhenan authored Feb 25, 2021
1 parent dabd793 commit fa77332
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Assets/Scripts/GameStateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public class GameStateManager : MonoBehaviour
{

public bool isFinished;
//public bool isFinished;

public string intro;
public string game;
Expand All @@ -24,7 +24,7 @@ public class GameStateManager : MonoBehaviour
void Start()
{

isFinished = false;
//isFinished = false;
DontDestroyOnLoad(this.gameObject);
currentScene = intro;
SceneManager.sceneLoaded += OnSceneLoaded;
Expand All @@ -39,17 +39,18 @@ void Update()

if (Input.GetKey(KeyCode.Space)) {

LoadGame();
LoadMemory();
//LoadGame();
}
}

if (currentScene == game) {
/*if (currentScene == game) {
if (Input.GetKey(KeyCode.Space)) {
LoadEnding();
LoadMemory();
}
}
}*/

}

Expand Down

0 comments on commit fa77332

Please sign in to comment.