Class InspectorListPropertyDrawer
- Namespace
- Gamelogic.Extensions.Editor
- Assembly
- Assembly-CSharp-Editor.dll
A property drawer for type InspectorList.
[Version(2, 5, 0)]
[CustomPropertyDrawer(typeof(InspectorList), true)]
[Obsolete]
public class InspectorListPropertyDrawer : PropertyDrawer
- Inheritance
-
GUIDrawerInspectorListPropertyDrawer
- Inherited Members
-
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)PropertyDrawer.attributePropertyDrawer.fieldInfo
- Extension Methods
Methods
GetPropertyHeight(SerializedProperty, GUIContent)
Override this method to specify how tall the GUI for this field is in pixels.
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
propertySerializedPropertyThe SerializedProperty to make the custom GUI for.
labelGUIContentThe label of this property.
Returns
- float
The height in pixels.
InitList(SerializedProperty, SerializedProperty)
public void InitList(SerializedProperty list, SerializedProperty property)
Parameters
listSerializedPropertypropertySerializedProperty
OnGUI(Rect, SerializedProperty, GUIContent)
Override this method to make your own IMGUI based GUI for the property.
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
positionRectRectangle on the screen to use for the property GUI.
propertySerializedPropertyThe SerializedProperty to make the custom GUI for.
labelGUIContentThe label of this property.