C# Class FullInspector.Internal.NullablePropertyEditor

A property editor for nullable types.
Inheritance: IPropertyEditor, IPropertyEditorEditAPI
Afficher le fichier Open project: jacobdufault/fullinspector

Méthodes publiques

Méthode Description
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
NullablePropertyEditor ( Type elementType ) : System
OnSceneGUI ( object element ) : object
TryCreate ( Type type, ICustomAttributeProvider attributes ) : IPropertyEditor

Method Details

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

NullablePropertyEditor() public méthode

public NullablePropertyEditor ( Type elementType ) : System
elementType System.Type
Résultat System

OnSceneGUI() public méthode

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

TryCreate() public static méthode

public static TryCreate ( Type type, ICustomAttributeProvider attributes ) : IPropertyEditor
type System.Type
attributes ICustomAttributeProvider
Résultat IPropertyEditor