示例#1
0
    private void OnTriggerEnter2D(Collider2D collision)
    {
        time.Stop();
        tutorial.SetActive(true);
        LensDistortion lens;

        profile = postProcProf.sharedProfile;
        profile.TryGetSettings <LensDistortion>(out lens);
        lens.intensity.Override(50f);
    }
示例#2
0
    IEnumerator pauseDelay()
    {
        yield return(new WaitForSeconds(1f));

        time.Stop();
        attack.SetActive(true);
        LensDistortion lens;

        profile = postProcProf.sharedProfile;
        profile.TryGetSettings <LensDistortion>(out lens);
        lens.intensity.Override(50f);
        secondStage = true;
    }
示例#3
0
    void Start()
    {
        time.Stop();
        panel.SetActive(true);
        StartCoroutine(resTime());
        LensDistortion lens;

        profile = postProcProf.sharedProfile;
        profile.TryGetSettings <LensDistortion>(out lens);
        lens.intensity.Override(50f);

        //var bloom = postProcProf.;
        //bloom.bloom.intensity = Mathf.Lerp(data[i].Strength, data[i + 1].Strength, data[i].TimeToReachNext);
        //postProcProf.bloom.settings = bloom;
    }