C# Class FullInspector.Internal.AbstractTypePropertyEditor

Provides a property editor for types which cannot be instantiated directly and require the user to select a specific instance to instantiate.
Inheritance: IPropertyEditor, IPropertyEditorEditAPI
Mostra file Open project: jacobdufault/fullinspector

Public Methods

Method Description
AbstractTypePropertyEditor ( Type baseType ) : System
CanEdit ( Type dataType ) : bool
Edit ( Rect region, GUIContent label, object element, fiGraphMetadata metadata ) : object
GetElementHeight ( GUIContent label, object element, fiGraphMetadata metadata ) : float
GetFoldoutHeader ( GUIContent label, object element ) : GUIContent
OnSceneGUI ( object element ) : object
TryCreate ( Type dataType ) : IPropertyEditor

Method Details

AbstractTypePropertyEditor() public method

public AbstractTypePropertyEditor ( Type baseType ) : System
baseType System.Type
return System

CanEdit() public method

public CanEdit ( Type dataType ) : bool
dataType System.Type
return bool

Edit() public method

public Edit ( Rect region, GUIContent label, object element, fiGraphMetadata metadata ) : object
region UnityEngine.Rect
label UnityEngine.GUIContent
element object
metadata fiGraphMetadata
return object

GetElementHeight() public method

public GetElementHeight ( GUIContent label, object element, fiGraphMetadata metadata ) : float
label UnityEngine.GUIContent
element object
metadata fiGraphMetadata
return float

GetFoldoutHeader() public method

public GetFoldoutHeader ( GUIContent label, object element ) : GUIContent
label UnityEngine.GUIContent
element object
return UnityEngine.GUIContent

OnSceneGUI() public method

public OnSceneGUI ( object element ) : object
element object
return object

TryCreate() public static method

public static TryCreate ( Type dataType ) : IPropertyEditor
dataType System.Type
return IPropertyEditor