Class NonNegativePropertyDrawer
- Namespace
- Gamelogic.Extensions.Editor
- Assembly
- Gamelogic.Extensions.Editor.dll
A property drawer for fields marked with the NonNegative Attribute.
[Version(1, 2, 0)]
[CustomPropertyDrawer(typeof(NonNegativeAttribute))]
public class NonNegativePropertyDrawer : PropertyDrawer
- Inheritance
-
GUIDrawerNonNegativePropertyDrawer
- Inherited Members
-
PropertyDrawer.CreatePropertyGUI(SerializedProperty)PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
- Extension Methods
Methods
- OnGUI(Rect, SerializedProperty, GUIContent)
Override this method to make your own IMGUI based GUI for the property.