docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FrictionCurveDrawer

    Custom property drawer for wheel tire friction curve

    Inheritance
    object
    GUIDrawer
    PropertyDrawer
    FrictionCurveDrawer
    Inherited Members
    PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)
    PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)
    PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
    PropertyDrawer.attribute
    PropertyDrawer.fieldInfo
    PropertyDrawer.preferredLabel
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Vehicles
    Assembly: com.unity.vehicles.editor.dll
    Syntax
    [CustomPropertyDrawer(typeof(WheelAuthoring.FrictionCurveData))]
    public class FrictionCurveDrawer : PropertyDrawer

    Methods

    CreatePropertyGUI(SerializedProperty)

    On CreatePropertyGUI

    Declaration
    public override VisualElement CreatePropertyGUI(SerializedProperty property)
    Parameters
    Type Name Description
    SerializedProperty property

    The serialized property

    Returns
    Type Description
    VisualElement

    Property visual element

    Overrides
    PropertyDrawer.CreatePropertyGUI(SerializedProperty)
    In This Article
    Back to top
    Copyright © 2025 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)