Home
Manual
Reference
Scripting
Scripting Reference
PropertyDrawer
.OnGUI
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
PropertyDrawer
All Members
Variables
attribute
Functions
GetPropertyHeight
OnGUI
function
OnGUI
(position :
Rect
, property :
SerializedProperty
, label :
GUIContent
) :
void
Parameters
Name
Description
position
Rectangle on the screen to use for the property GUI.
property
The SerializedProperty to make the custom GUI for.
label
The label of this property.
Description
Override this method to make your own GUI for the property.