> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.unity.editor/ks.unity.editor.ksversiondrawer.md).

# Class ksVersionDrawer

Namespace: [KS.Unity.Editor](/reactor/api-reference/ks.unity.editor.md)\
Assembly: KSUnity-Editor.dll

Custom property drawer for [ksSerializableVersion](/reactor/api-reference/ks.unity/ks.unity.ksserializableversion.md).

```csharp
[CustomPropertyDrawer(typeof(ksSerializableVersion))]
public class ksVersionDrawer : PropertyDrawer
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) â† GUIDrawer â† PropertyDrawer â† [ksVersionDrawer](/reactor/api-reference/ks.unity.editor/ks.unity.editor.ksversiondrawer.md)

#### Inherited Members

PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent), PropertyDrawer.CreatePropertyGUI(SerializedProperty), PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent), PropertyDrawer.CanCacheInspectorGUI(SerializedProperty), PropertyDrawer.attribute, PropertyDrawer.fieldInfo, PropertyDrawer.preferredLabel, [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Methods

### OnGUI(Rect, SerializedProperty, GUIContent) <a href="#ks_unity_editor_ksversiondrawer_ongui_unityengine_rect_unityeditor_serializedproperty_unityengine_gu" id="ks_unity_editor_ksversiondrawer_ongui_unityengine_rect_unityeditor_serializedproperty_unityengine_gu"></a>

Draws the GUI.

```csharp
public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label)
```

#### Parameters

`rect` Rect

Rect to draw in.

`property` SerializedProperty

Property to draw.

`label` GUIContent

Property label.
