Added PredrawerModifier to help modify either SerializedProperty or GUIContent before drawing
This commit is contained in:
parent
6321fcc107
commit
e0fc2c1e05
7 changed files with 62 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
public enum EPropertyType : byte
|
||||
{
|
||||
PredrawerModifier,
|
||||
Drawer,
|
||||
ValueModifier,
|
||||
AccessModifier
|
||||
|
|
|
|||
7
Runtime/PredrawerModifierPropertyAttribute.cs
Normal file
7
Runtime/PredrawerModifierPropertyAttribute.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace Module.Inspector
|
||||
{
|
||||
public abstract class PredrawerModifierPropertyAttribute : AbstractPropertyAttribute
|
||||
{
|
||||
public override EPropertyType Type => EPropertyType.PredrawerModifier;
|
||||
}
|
||||
}
|
||||
3
Runtime/PredrawerModifierPropertyAttribute.cs.meta
Normal file
3
Runtime/PredrawerModifierPropertyAttribute.cs.meta
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 54936da91a3241debe62f6fe4269f129
|
||||
timeCreated: 1638612653
|
||||
Loading…
Add table
Add a link
Reference in a new issue