Метод | Описание | |
---|---|---|
CanEdit ( |
||
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 | ||
ReflectedPropertyEditor ( InspectedType metadata ) : System | ||
TryCreate ( Type dataType, ICustomAttributeProvider attributes ) : IPropertyEditor |
Метод | Описание | |
---|---|---|
DrawLabel ( Rect region, GUIContent label ) : Rect |
Draws a label at the given region. Returns an indented rectangle that can be used for drawing properties directly under the label.
|
|
EditButton ( Rect ®ion, object element, InspectedMethod method ) : void |
A helper method that draws a button at the given region.
|
|
EditInspectedMember ( Rect ®ion, object element, InspectedMember member, fiGraphMetadata metadata ) : void | ||
EditPropertiesButtons ( GUIContent label, Rect region, object element, fiGraphMetadata metadata ) : object |
Draws the actual property editors.
|
|
EditProperty ( Rect ®ion, object element, InspectedProperty property, fiGraphMetadata metadata ) : void |
A helper method that draws the inspector for a field/property at the given location.
|
|
HasLabel ( GUIContent label ) : bool |
Returns true if the given GUIContent element contains any content.
|
|
ShouldAutoInstantiate ( ) : bool |
This returns true if automatic instantiation should be enabled. Automatic instantiation gets disabled after the reflected editor has gone a x calls deep into itself in an attempt to prevent infinite recursion.
|
|
ShouldShowMemberDynamic ( object element, MemberInfo member ) : bool | ||
UseCategories ( Dictionary |
public CanEdit ( |
||
dataType | ||
Результат | bool |
public Edit ( Rect region, GUIContent label, object element, fiGraphMetadata metadata ) : object | ||
region | Rect | |
label | GUIContent | |
element | object | |
metadata | fiGraphMetadata | |
Результат | object |
public GetElementHeight ( GUIContent label, object element, fiGraphMetadata metadata ) : float | ||
label | GUIContent | |
element | object | |
metadata | fiGraphMetadata | |
Результат | float |
public GetFoldoutHeader ( GUIContent label, object element ) : GUIContent | ||
label | GUIContent | |
element | object | |
Результат | GUIContent |
public OnSceneGUI ( object element ) : object | ||
element | object | |
Результат | object |
public ReflectedPropertyEditor ( InspectedType metadata ) : System | ||
metadata | InspectedType | |
Результат | System |
public static TryCreate ( Type dataType, ICustomAttributeProvider attributes ) : IPropertyEditor | ||
dataType | Type | |
attributes | ICustomAttributeProvider | |
Результат | IPropertyEditor |