private void Awake() { playerSpriteRenderer = Finder.Player.GetComponentInChildren <SpriteRenderer>(); playerDeathEventChannel = Finder.PlayerDeathEventChannel; levelCompletedEventChannel = Finder.LevelCompletedEventChannel; playerMover = GetComponentInParent <PlayerMover>(); }
private void Awake() { menuPageChangedEventChannel = Finder.MenuPageChangedEventChannel; levelCompletedEventChannel = Finder.LevelCompletedEventChannel; mainController = Finder.MainController; dispatcher = Finder.Dispatcher; saveSystem = Finder.SaveSystem; activePage = firstPage; isActivePageCreateGameFile = false; }
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; }
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; }
protected override void Awake() { base.Awake(); levelCompletedEventChannel = Finder.LevelCompletedEventChannel; }
private void Awake() { playerDeathEventChannel = Finder.PlayerDeathEventChannel; levelCompletedEventChannel = Finder.LevelCompletedEventChannel; image = GetComponent <Image>(); }