0.2.0: Moved into inspector drawer from module.toolbox to module.inspector
This commit is contained in:
parent
5671c2c754
commit
ffec2abdf4
227 changed files with 5306 additions and 29 deletions
12
Editor/DrawerPropertyDrawer.cs
Normal file
12
Editor/DrawerPropertyDrawer.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using Module.Inspector.Editor.Utilities;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Module.Inspector.Editor
|
||||
{
|
||||
public abstract class DrawerPropertyDrawer : AbstractPropertyDrawer
|
||||
{
|
||||
public abstract bool Draw(Rect position, DrawerPropertyAttribute attribute, SerializedProperty property, GUIContent label, EditorPropertyUtility.Result result);
|
||||
public abstract string GetErrorMessage(SerializedProperty property);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue