private void Awake() { if (Instance == null) { Instance = this; DontDestroyOnLoad(gameObject); } else { Destroy(gameObject); return; } progression = Progression.LoadProgression(); if (progression.ID != ID) { DeleteProgression(); progression = Progression.CreateProgression(ID); } }
public void DeleteProgression() { progression.DeleteProgression(); progression = Progression.CreateProgression(ID); }