コード例 #1
0
        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();
        }
コード例 #2
0
 void RegisterScore(string name, int score, TagManager.GameDifficulty difficulty)
 {
     PYScoreData.RegisterStudent(name, score, difficulty);
     Invoke("BackToMainMenu", 0.5f);
 }