public IEnumerator SentenceAnim()
    {
        yield return(new WaitForSeconds(1f));

        sentence.DOFade(1, 4f).SetEase(Ease.Linear);
        sentence.transform.DOScale(1.15f, 8f);

        //Fade Effects
        LensDistortionBlur disto = sentenceCamera.GetComponent <LensDistortionBlur>();

        DOTween.To(() => disto.Distortion, x => disto.Distortion = x, 0.7f, 4);

        AnalogTV tv = sentenceCamera.GetComponent <AnalogTV>();

        DOTween.To(() => tv.Distortion, x => tv.Distortion = x, -0.5f, 4);

        UnityStandardAssets.ImageEffects.BloomOptimized bloom = sentenceCamera.GetComponent <UnityStandardAssets.ImageEffects.BloomOptimized>();
        DOTween.To(() => bloom.intensity, x => bloom.intensity = x, 1f, 3);

        yield return(new WaitForSeconds(textDuration));

        DOTween.To(() => disto.Distortion, x => disto.Distortion = x, 0f, 4);

        //End
        sentence.DOFade(0, 1f);

        Led led = sentenceCamera.GetComponent <Led>();

        DOTween.To(() => led.Scale, x => led.Scale = x, 5, 1);

        sentenceCamera.GetComponent <Glitch>().enabled = true;
        SFX_Glitch.Play();

        yield return(new WaitForSeconds(1));

        inGameCanvas.SetActive(true);
        sentenceCamera.SetActive(false);
        background.DOFade(0, 3f);
        crosshairAlpha.DOFade(1, 3f);
        player.enabled = true;
    }
    // Use this for initialization
    void Start()
    {
        postProcessProfile = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <PostProcessingBehaviour>().profile;
        bloom            = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Bloom>();
        distorsion       = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <LensDistortionBlur>();
        rgbSplit         = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <RGBSplit>();
        slowMoVignetting = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <ContrastVignette>();
        bcgScript        = FindObjectOfType <BrightnessContrastGamma>();
        slowmoScript     = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <SlowMotionCamera>();
        browianMotion    = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <BrownianMotion>();

        //Video
        brightnessSlider.onValueChanged.AddListener(Brightness);
        contrastSlider.onValueChanged.AddListener(Contrast);
        gammaSlider.onValueChanged.AddListener(Gamma);

        //Advanced
        antialiasingSlider.onValueChanged.AddListener(AntiAliasing);
        bloomSlider.onValueChanged.AddListener(Bloom);
        shadowsSlider.onValueChanged.AddListener(Shadows);

        ambiantOcclusionToggle.onValueChanged.AddListener((bool arg0) =>
        {
            postProcessProfile.ambientOcclusion.enabled = arg0;
            EnableApplyButton();
        });
        blurToggle.onValueChanged.AddListener((bool arg0) =>
        {
            postProcessProfile.motionBlur.enabled = arg0;
            EnableApplyButton();
        });
        grainToggle.onValueChanged.AddListener((bool arg0) =>
        {
            postProcessProfile.grain.enabled = arg0;
            EnableApplyButton();
        });
        vignettingToggle.onValueChanged.AddListener((bool arg0) =>
        {
            postProcessProfile.vignette.enabled = arg0;
            EnableApplyButton();
        });

        cameraMotionToggle.onValueChanged.AddListener((bool arg0) =>
        {
            browianMotion.enabled = arg0;
            browianMotionEnabled  = arg0;

            if (!arg0 && MenuManager.Instance.currentMenu != null)
            {
                GlobalVariables.Instance.menuCameraMovement.MenuPositionGraphics();
            }

            if (arg0)
            {
                GlobalVariables.Instance.menuCameraMovement.EnableBrowianMotion();
            }

            EnableApplyButton();
        });
        rgbToggle.onValueChanged.AddListener((bool arg0) =>
        {
            rgbSplit.enabled = arg0;
            EnableApplyButton();
        });
        distorsionToggle.onValueChanged.AddListener((bool arg0) =>
        {
            distorsion.enabled = arg0;
            EnableApplyButton();
        });
        slowMoVignettingToggle.onValueChanged.AddListener((bool arg0) =>
        {
            slowMoVignetting.enabled = arg0;
            EnableApplyButton();
        });


        if (PlayerPrefs.HasKey("QualityLevel"))
        {
            LoadData();
        }
        else
        {
            Reset();
            ResetAdvanced();
        }

        SaveData();

        applyButton.SetActive(false);
        apply = true;
    }