# OnGUI(Rect, SerializedProperty, GUIContent)

> Override this method to make your own IMGUI based GUI for the property.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

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

### Parameters

**** (\[Rect]\(/engine/6000.5/script-reference/unityengine/rect)): Rectangle on the screen to use for the property GUI.**** (\[SerializedProperty]\(/engine/6000.5/script-reference/unityeditor/serializedproperty)): The SerializedProperty to make the custom GUI for.**** (\[GUIContent]\(/engine/6000.5/script-reference/unityengine/guicontent)): The label of this property.
