C# Class FullInspector.Internal.AttributePropertyEditor

Inheritance: IPropertyEditor, IPropertyEditorEditAPI
显示文件 Open project: jacobdufault/fullinspector

Private Properties

Property Type Description
AttributePropertyEditor System
AttributePropertyEditor System
DisableFoldouts void

Public Methods

Method 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

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

Method Details

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 editedType, ICustomAttributeProvider editedAttributes ) : IPropertyEditor
editedType System.Type
editedAttributes ICustomAttributeProvider
return IPropertyEditor