public MainUIConfig() { prefab_Path = "MainUI"; View = new MainUI(); Ctrl = new MainUICtrl(); Model = new MainUIModel(); layer = ENUM_UILayer.Normal; InitConfig(); }
void Awake() { _instance = this; //单例 Time.timeScale = 1; //解决暂停返回主菜单再次开始游戏还处于暂停状态bug }