using Golems.Attributes; using UnityEditor; using UnityEngine; namespace Golems { [CustomPropertyDrawer(typeof(ReadOnly))] public class ReadOnlyPropertyDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { EditorGUI.LabelField(position, $"{property.displayName}"); } } }