2013年8月5日 星期一

退出(結束)Unity遊戲

呼叫下列函式退出遊戲
Application.Quit();


若退出時畫面會閃,可用下列方法試試
System.Diagnostics.Process.GetCurrentProcess().Kill();

沒有留言:

張貼留言