private void InitManager() { GameSave = GameSaveSystem.GetInstance(); Event = EventCenter.GetInstance(); Music = MusicMgr.GetInstance(); Scenes = ScenesMgr.GetInstance(); UI = UIManager.GetInstance(); Res = ResMgr.GetInstance(); }
public override void Init() { base.Init(); InitUIData(); ScenesManager = GameEntry.Scenes; btnStart.onClick.AddListener(OnStart); btnContinue.onClick.AddListener(OnContinue); btnMod.onClick.AddListener(OnMod); btnSetting.onClick.AddListener(OnSetting); }