📅  最后修改于: 2022-03-11 14:58:04.400000             🧑  作者: Mango
代码示例1
using UnityEngine.SceneManagement;
void Update()
{
if (Input.GetKey(KeyCode.Escape))
{
SceneManager.LoadScene("Main Menu");
}
}