Skip to content
Snippets Groups Projects

feat: timer

Merged Averrous Saloom requested to merge averrous/feat/cutscene into master
Compare and
4 files
+ 65
10
Preferences
Compare changes
Files
4
@@ -8,6 +8,7 @@ public class GlobalManager : MonoBehaviour
@@ -8,6 +8,7 @@ public class GlobalManager : MonoBehaviour
public static GlobalManager Instance;
public static GlobalManager Instance;
private GlobalStateManager globalState;
private GlobalStateManager globalState;
private string playerName;
private string playerName;
 
private double totalTime;
public string PlayerName
public string PlayerName
{
{
get => playerName;
get => playerName;
@@ -16,6 +17,14 @@ public class GlobalManager : MonoBehaviour
@@ -16,6 +17,14 @@ public class GlobalManager : MonoBehaviour
playerName = value;
playerName = value;
}
}
}
}
 
public double TotalTime
 
{
 
get => totalTime;
 
set
 
{
 
totalTime = value;
 
}
 
}
private void Awake()
private void Awake()
{
{