◆ DrawProperty()

static void DrawProperty ( Rect  position,
SerializedProperty  property,
GUIContent  label,
System.Type  objectType,
bool  allowSceneObjects,
bool  allowCreation,
params GUILayoutOption[]  options 
)
static
Parameters
positionlocation and area to draw property
propertyproperty to be drawn
labellabel to be drawn
objectTypeType of object that is being drawn, and may be selected in the object selector.
allowSceneObjectsspecified whether scene objects should be displayed in the object selector
allowCreationspecified whether new objects may be created
optionsLayout options to be applied to control

Referenced by EditorUtil.FoldoutObjectProperty(), and EditorUtil.LayoutFoldoutObjectProperty().

+ Here is the caller graph for this function: