Class SplineIndexPropertyDrawer
A PropertyDrawer used to show a popup menu with available spline indices relative to a ISplineContainer. Add SplineIndexAttribute to a serialized integer type to use.
Inherited Members
Namespace: UnityEditor.Splines
Assembly: solution.dll
Syntax
[CustomPropertyDrawer(typeof(SplineIndexAttribute))]
public class SplineIndexPropertyDrawer : PropertyDrawer
Methods
Name | Description |
---|---|
GetPropertyHeight(SerializedProperty, GUIContent) | Returns the height of a SerializedProperty in pixels. |
OnGUI(Rect, SerializedProperty, GUIContent) | Creates an interface for a SerializedProperty with an integer property type. |