예제 #1
0
 private void Awake()
 {
     dispatcher = Finder.Dispatcher;
     successUnlockedEventChannel = Finder.SuccessUnlockedEventChannel;
     savedDataLoadedEventChannel = Finder.SavedDataLoadedEventChannel;
     newGameLoadedEventChannel   = Finder.NewGameLoadedEventChannel;
 }
예제 #2
0
        private void Awake()
        {
            dispatcher = Finder.Dispatcher;
            playerDeathEventChannel      = Finder.PlayerDeathEventChannel;
            levelCompletedEventChannel   = Finder.LevelCompletedEventChannel;
            savedDataLoadedEventChannel  = Finder.SavedDataLoadedEventChannel;
            savedSceneLoadedEventChannel = Finder.SavedSceneLoadedEventChannel;
            newGameLoadedEventChannel    = Finder.NewGameLoadedEventChannel;
            saveSystem = Finder.SaveSystem;
            scenes     = GetComponentInChildren <Scenes>();

            currentScene = startingScene;
        }