Added PredrawerModifier to help modify either SerializedProperty or GUIContent before drawing

This commit is contained in:
Anders Ejlersen 2021-12-04 11:32:57 +01:00
parent 6321fcc107
commit e0fc2c1e05
7 changed files with 62 additions and 3 deletions

View file

@ -0,0 +1,10 @@
using UnityEditor;
using UnityEngine;
namespace Module.Inspector.Editor
{
public abstract class PredrawerModifierPropertyDrawer : AbstractPropertyDrawer
{
public abstract void Modify(PredrawerModifierPropertyAttribute attribute, SerializedProperty property, GUIContent label);
}
}