◆ DrawObjectDefault< T >()

static object DrawObjectDefault< T > ( Rect  position,
GUIContent  label,
object  objectToDraw 
)
static
Template Parameters
TOnly certain types, that have EditorGUILayout, or EyEengine controls, will be accepted as valid parameters here. Invalid types will raise an exception.
Parameters
positionspecifies where on the screen the control should be drawn.
labellabel to drawn with the object
objectToDrawreference to the object containing the data to be displayed
Returns
The object, potentially containing user-changed values.

References EditorUtil.TypePopup().

+ Here is the call graph for this function: