예제 #1
0
 void Awake()
 {
     timelineController          = Finder.TimelineController;
     timelineChangedEventChannel = Finder.TimelineChangedEventChannel;
     virtualCamera = GetComponent <CinemachineVirtualCamera>();
     noiseSettings = virtualCamera.GetCinemachineComponent <CinemachineBasicMultiChannelPerlin>();
 }
예제 #2
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;
        }
예제 #3
0
 private void Awake()
 {
     timelineController          = Finder.TimelineController;
     player                      = Finder.Player;
     timelineChangedEventChannel = Finder.TimelineChangedEventChannel;
 }
예제 #4
0
파일: Vitals.cs 프로젝트: deboxta/STINT
 private void Start()
 {
     player             = Finder.Player;
     timelineController = Finder.TimelineController;
 }