예제 #1
0
 private void Awake()
 {
     playerSpriteRenderer       = Finder.Player.GetComponentInChildren <SpriteRenderer>();
     playerDeathEventChannel    = Finder.PlayerDeathEventChannel;
     levelCompletedEventChannel = Finder.LevelCompletedEventChannel;
     playerMover = GetComponentInParent <PlayerMover>();
 }
예제 #2
0
        private void Awake()
        {
            menuPageChangedEventChannel = Finder.MenuPageChangedEventChannel;
            levelCompletedEventChannel  = Finder.LevelCompletedEventChannel;

            mainController             = Finder.MainController;
            dispatcher                 = Finder.Dispatcher;
            saveSystem                 = Finder.SaveSystem;
            activePage                 = firstPage;
            isActivePageCreateGameFile = false;
        }
예제 #3
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;
        }
예제 #4
0
        private void Awake()
        {
            volume = gameObject.GetComponent <CinemachinePostProcessing>();

            volume.m_Profile = volume.Profile.Clone();

            volume.Profile.TryGetSettings(out depthOfField);
            volume.Profile.TryGetSettings(out chromaticAberration);

            playerDeathEventChannel       = Finder.PlayerDeathEventChannel;
            levelCompletedEventChannel    = Finder.LevelCompletedEventChannel;
            timelineChangedEventChannel   = Finder.TimelineChangedEventChannel;
            timelineController            = Finder.TimelineController;
            timeFreezeEventChannel        = Finder.TimeFreezeEventChannel;
            timeFreezeWarningEventChannel = Finder.TimeFreezeWarningEventChannel;
            timeFreezeController          = Finder.TimeFreezeController;
        }
예제 #5
0
        protected override void Awake()
        {
            base.Awake();

            levelCompletedEventChannel = Finder.LevelCompletedEventChannel;
        }
예제 #6
0
 private void Awake()
 {
     playerDeathEventChannel    = Finder.PlayerDeathEventChannel;
     levelCompletedEventChannel = Finder.LevelCompletedEventChannel;
     image = GetComponent <Image>();
 }