unity退出當前界面程序按鈕

1.新建場景命名爲「BtnQuit」ui 2.在場景中新建「UI」----「Button」按鈕,spa 修改按鈕的文本屬性,輸入「ESC」(或者關閉)   3.新建C#腳本,命名爲「Quit」blog 編寫腳本,以下:using System.Collections; using System.Collections.Generic; using UnityEngine; public class
相關文章
相關標籤/搜索