📅  最后修改于: 2022-03-11 14:55:39.527000             🧑  作者: 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();
}