C# Class FullInspector.Internal.AttributePropertyEditor

Inheritance: IPropertyEditor, IPropertyEditorEditAPI
Afficher le fichier Open project: jacobdufault/fullinspector

Private Properties

Свойство Type Description
AttributePropertyEditor System
AttributePropertyEditor System
DisableFoldouts void

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
OnSceneGUI ( object element ) : object
TryCreate ( Type editedType, ICustomAttributeProvider editedAttributes ) : IPropertyEditor

Private Methods

Méthode Description
AttributePropertyEditor ( ) : System
AttributePropertyEditor ( List editors, bool showPrimary, bool showTopLevelFoldout, bool indent, bool defaultFoldoutState ) : System
DisableFoldouts ( fiGraphMetadata metadata ) : void

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

OnSceneGUI() public méthode

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

TryCreate() public static méthode

public static TryCreate ( Type editedType, ICustomAttributeProvider editedAttributes ) : IPropertyEditor
editedType System.Type
editedAttributes ICustomAttributeProvider
Résultat IPropertyEditor