Files

16 lines
434 B
C#
Raw Permalink Normal View History

using UnityEngine;
using UnityEditor;
namespace MeatKit
{
[CustomPropertyDrawer(typeof(HideInNormalInspectorAttribute))]
class HideInNormalInspectorDrawer : PropertyDrawer
{
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{
return 0f;
}
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { }
}
}