📅  最后修改于: 2022-03-11 14:49:06.178000             🧑  作者: Mango
void PauseGame ()
{
Time.timeScale = 0f;
AudioListener.pause = true;
}
void ResumeGame ()
{
Time.timeScale = 1;
AudioListener.pause = false;
}Copy