コード例 #1
0
ファイル: NoiseController.cs プロジェクト: deboxta/STINT
 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;
 }