Files
pgs/Assets/Plugins/MMFeedbacks/MMTools/Editor/Attributes/MMHiddenAttributeDrawer.cs

24 lines
493 B
C#
Raw Normal View History

2026-02-21 16:58:22 -08:00
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System;
using UnityEditor;
namespace MoreMountains.Tools
{
[CustomPropertyDrawer(typeof(MMHiddenAttribute))]
public class MMHiddenAttributeDrawer : PropertyDrawer
{
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{
return 0f;
}
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
}
}
}