Class RelativePropertiesDrawer
Custom property drawer that renders automatically a set of properties of a given object
Inheritance
System.Object
RelativePropertiesDrawer
Syntax
public abstract class RelativePropertiesDrawer : PropertyDrawer
Properties
relativePropertiesNames
Declaration
protected abstract string[] relativePropertiesNames { get; }
Property Value
Methods
CreatePropertyGUI(SerializedProperty)
Declaration
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
Returns
Overrides
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Returns
Type |
Description |
System.Single |
|
Overrides
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Overrides
Extension Methods