public static void SetPostEffectBufferSizeByQuality(Dictionary <PostEffectQualityGrade, int> postFxGradeBufferSize, PostEffectQualityGrade quality) { PostFX tfx = UnityEngine.Object.FindObjectOfType <PostFX>(); if (tfx != null) { int num = 0; postFxGradeBufferSize.TryGetValue(quality, out num); tfx.internalBufferSize = (PostFXBase.InternalBufferSizeEnum)num; } }
private void ShowPostFXGrade(PostEffectQualityGrade postFXGrade, bool isRecommend, bool usePostFX) { this.ShowThirdLineElement(base.transform.Find("Content/DetailSetting/ThirdLine/Content/PostFXQuality"), isRecommend, usePostFX, postFXGrade == PostEffectQualityGrade.High); }