protected override void Start() { base.Start(); // Just for tests! PYScoreData.DeleteAll(); for (int i = 0; i < 15; i++) { PYScoreData.RegisterStudent("MMMMMMMMMMMMMMMMMM" + i, 100 * (i == 0 ? 1 : i), PYGameManager.Instance.GameDifficulty); } Show(); }
void RegisterScore(string name, int score, TagManager.GameDifficulty difficulty) { PYScoreData.RegisterStudent(name, score, difficulty); Invoke("BackToMainMenu", 0.5f); }