Class FrictionCurveDrawer
Custom property drawer for wheel tire friction curve
Inherited Members
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 |