void start(){Invoke("QuitGame",60f);}void QuitGame(){Application.Quit();}把这段C#代码加到场景中任意物体上,原理是延时函数Invoke