Ejemplo n.º 1
0
    public void LoadHighscores()
    {
        table = SaveSystemScript.LoadScore();

        if (table == null)
        {
            table = new HighscoreTable();
            SaveSystemScript.SaveTable(table);
        }
        UIManagerScript.instance.ShowHighscoreDeathscreen(table);
    }
Ejemplo n.º 2
0
 public void LoadHighscores()
 {
     if (table == null)
     {
         table = SaveSystemScript.LoadScore();
     }
     if (table == null)
     {
         table = new HighscoreTable();
         SaveSystemScript.SaveTable(table);
     }
 }