Class MinValuePropertyDrawer
Handles inspector drawing for MinValueAttribute
Inheritance
System.Object
UnityEditor.GUIDrawer
UnityEditor.PropertyDrawer
MinValuePropertyDrawer
Inherited Members
UnityEditor.PropertyDrawer.CreatePropertyGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.GetPropertyHeight(UnityEditor.SerializedProperty, UnityEngine.GUIContent)
UnityEditor.PropertyDrawer.CanCacheInspectorGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.attribute
UnityEditor.PropertyDrawer.fieldInfo
Namespace: Atlas
Assembly: Atlas.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(MinValueAttribute))]
public sealed class MinValuePropertyDrawer : PropertyDrawer
Methods
| Improve this Doc View SourceOnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | position | |
UnityEditor.SerializedProperty | property | |
UnityEngine.GUIContent | label |
Overrides
UnityEditor.PropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.SerializedProperty, UnityEngine.GUIContent)