📅  最后修改于: 2022-03-11 14:49:16.700000             🧑  作者: Mango
public void GameOver()
{
//Set levelText to display number of levels passed and game over message
levelText.text = "After " + level + " months, you starved.";
new WaitForSeconds(6);
Application.Quit();
}