using UnityEngine; using UnityEngine.Rendering.HighDefinition; namespace UnityEditor.Rendering.HighDefinition { [CustomPropertyDrawer(typeof(DecalLayerEnum))] class DecalLayerEnumPropertyDrawer : PropertyDrawer { /// /// Draws a decal layer enum. /// /// The rect to draw. /// The property to draw. /// The label to draw. public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) => HDEditorUtils.DrawDecalLayerMask_Internal(position, label, property); //default height is good (= single line height) } }