> 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.reactor.client.unity.editor/ks.reactor.client.unity.editor.ksscriptassetreferencedrawer.md).

# Class ksScriptAssetReferenceDrawer

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

Property drawer for [ksScriptAssetReference%601](/reactor/api-reference/ks.reactor.client.unity.md#KS_Reactor_Client_Unity_ksScriptAssetReference_601).

```csharp
[CustomPropertyDrawer(typeof(ksScriptAssetReference<>))]
public class ksScriptAssetReferenceDrawer : PropertyDrawer
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) â† GUIDrawer â† PropertyDrawer â† [ksScriptAssetReferenceDrawer](/reactor/api-reference/ks.reactor.client.unity.editor/ks.reactor.client.unity.editor.ksscriptassetreferencedrawer.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_reactor_client_unity_editor_ksscriptassetreferencedrawer_ongui_unityengine_rect_unityeditor_seria" id="ks_reactor_client_unity_editor_ksscriptassetreferencedrawer_ongui_unityengine_rect_unityeditor_seria"></a>

Draws the property.

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

#### Parameters

`position` Rect

Position to draw at.

`property` SerializedProperty

Property to draw.

`label` GUIContent

Label for the property.
