mirror of
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements.git
synced 2026-06-02 20:24:26 -07:00
16 lines
434 B
C#
16 lines
434 B
C#
|
|
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) { }
|
||
|
|
}
|
||
|
|
}
|