예제 #1
0
 void Update()
 {
     if ((Input.GetAxis("Horizontal") != 0) || (Input.GetAxis("Vertical") != 0))
     {
         time.Resume();
         panel.SetActive(false);
         LensDistortion lens;
         profile = postProcProf.sharedProfile;
         profile.TryGetSettings <LensDistortion>(out lens);
         lens.intensity.Override(22f);
         Destroy(gameObject);
     }
 }
예제 #2
0
 public void Update()
 {
     if (Input.GetMouseButtonDown(1) && tutorial.activeSelf)
     {
         time.Resume();
         tutorial.SetActive(false);
         LensDistortion lens;
         profile = postProcProf.sharedProfile;
         profile.TryGetSettings <LensDistortion>(out lens);
         lens.intensity.Override(22f);
         Destroy(gameObject);
     }
 }
예제 #3
0
 void Update()
 {
     if (secondStage)
     {
         if (Input.GetMouseButtonDown(0) || Input.GetMouseButtonDown(1))
         {
             time.Resume();
             LensDistortion lens;
             profile = postProcProf.sharedProfile;
             profile.TryGetSettings <LensDistortion>(out lens);
             lens.intensity.Override(22f);
         }
     }
 }