少年修仙传客户端基础资源
client_Hale
2019-11-04 ee36064c3e8766b06b1c6679f5152eb30e1977a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using UnityEngine.PostProcessing;
 
namespace UnityEditor.PostProcessing
{
    [PostProcessingModelEditor(typeof(DitheringModel))]
    public class DitheringModelEditor : PostProcessingModelEditor
    {
        public override void OnInspectorGUI()
        {
            if (profile.grain.enabled && target.enabled)
                EditorGUILayout.HelpBox("Grain is enabled, you probably don't need dithering !", MessageType.Warning);
            else
                EditorGUILayout.HelpBox("Nothing to configure !", MessageType.Info);
        }
    }
}