Skip to main content

Class VehicleModelStructPropertyDrawer

Custom property drawer for the VehicleModelStruct struct.

[CustomPropertyDrawer(typeof(WheelControl.VehicleModelStruct))]
public class VehicleModelStructPropertyDrawer : PropertyDrawer

Inheritance​

Methods​

CreatePropertyGUI(SerializedProperty)​

Creates the property GUI for the VehicleModelStruct struct.

public override VisualElement CreatePropertyGUI(SerializedProperty property)

Parameters​

NameTypeDescription
propertySerializedPropertyThe serialized property to create the GUI for.

Returns​

VisualElement — A VisualElement representing the property GUI.

  • Methods
    • CreatePropertyGUI(SerializedProperty)