using Adam; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; //============================================================ //支持中文,文件使用UTF-8编码 //@author #AUTHOR# //@create #CREATEDATE# //@company #COMPANY# // //@description: //============================================================ public class UIManager : MonoSingleton { public ToolsItemController ToolsItemManager; public MobileTerminalController MobileTerminalController; public AssignmentController assignmentController; public BottomController bottomCotroller; public Button exitBtn; public Button backToToolBtn; // Use this for initialization private void Start() { exitBtn.onClick.AddListener(OnExit); exitBtn.gameObject.SetActive(false); backToToolBtn.gameObject.SetActive(false); DontDestroyOnLoad(this); } public void OnExit() { Application.Quit(); } }