예제 #1
0
 private void InitManager()
 {
     GameSave = GameSaveSystem.GetInstance();
     Event    = EventCenter.GetInstance();
     Music    = MusicMgr.GetInstance();
     Scenes   = ScenesMgr.GetInstance();
     UI       = UIManager.GetInstance();
     Res      = ResMgr.GetInstance();
 }
예제 #2
0
        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);
        }