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
Afficher le fichier Open project: jacobdufault/fullinspector

Méthodes publiques

Méthode 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 méthode

public AbstractTypePropertyEditor ( Type baseType ) : System
baseType System.Type
Résultat System

CanEdit() public méthode

public CanEdit ( Type dataType ) : bool
dataType System.Type
Résultat bool

Edit() public méthode

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

GetElementHeight() public méthode

public GetElementHeight ( GUIContent label, object element, fiGraphMetadata metadata ) : float
label UnityEngine.GUIContent
element object
metadata fiGraphMetadata
Résultat float

GetFoldoutHeader() public méthode

public GetFoldoutHeader ( GUIContent label, object element ) : GUIContent
label UnityEngine.GUIContent
element object
Résultat UnityEngine.GUIContent

OnSceneGUI() public méthode

public OnSceneGUI ( object element ) : object
element object
Résultat object

TryCreate() public static méthode

public static TryCreate ( Type dataType ) : IPropertyEditor
dataType System.Type
Résultat IPropertyEditor