예제 #1
0
    // information used for tracking player properly between alive and dead

    // Start is called before the first frame update
    void Start()
    {
        playerEarthPosition = playerEarth.transform.position;
        camRig.SetFollowTarget(playerEarth.transform);

        //Get and reset post processing values
        vignette = ppp.GetSetting <Vignette>();
        vignette.intensity.Override(0.0f);

        grain = ppp.GetSetting <Grain>();
        grain.intensity.Override(0.0f);

        bloom = ppp.GetSetting <Bloom>();
        bloom.intensity.Override(4.0f);

        colorGrading = ppp.GetSetting <ColorGrading>();
        colorGrading.hueShift.Override(0.0f);
    }