docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    GUIDrawer
    PropertyDrawer
    SplineIndexPropertyDrawer
    Inherited Members
    PropertyDrawer.CreatePropertyGUI(SerializedProperty)
    PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
    PropertyDrawer.attribute
    PropertyDrawer.fieldInfo
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)