Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnGUI(Rect, SerializedProperty, GUIContent)

Override this method to make your own IMGUI based GUI for the property.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual void OnGUI(Rect position, SerializedProperty property, GUIContent label)

Parameters

position

Rectangle on the screen to use for the property GUI.

The SerializedProperty to make the custom GUI for.

The label of this property.