◆ DrawObjectDefaultLayout< T >()

static object DrawObjectDefaultLayout< T > ( 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
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().

Referenced by EditorUtil.SimpleListFieldLayout< T >().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: