public override void onDeath() { StaticGameInfo.setLastGameScore(ScoreManager.Instance.getScore()); SceneManager.LoadScene(3); }
public void LoadSceneAndClearLastScore(int level) { StaticGameInfo.setLastGameScore(0); LoadScene(level); }