示例#1
0
 public void OnClick()
 {
     timesClicked++;
     if (timesClicked == 2)
     {
         gm.stats.ResetStatistics();
         gm.SaveGame();
         UpdateButtonText();
     }
     else if (timesClicked == 1)
     {
         UpdateButtonText();
     }
 }