C# Класс FullInspector.Internal.fiEditorGUI

Показать файл Открыть проект

Открытые методы

Метод Описание
AnimatedBegin ( Rect &rect, fiGraphMetadata metadata ) : void
AnimatedEnd ( fiGraphMetadata metadata ) : void
AnimatedHeight ( float currentHeight, bool updateHeight, fiGraphMetadata metadata ) : float
BeginFadeGroup ( float labelHeight, Rect &group, float fade ) : void
BeginFadeGroupHeight ( float labelHeight, Rect &group, float fadeHeight ) : void
EditProperty ( Rect region, object container, FullInspector.Internal.InspectedProperty property, fiGraphMetadataChild metadata ) : void
EditPropertyDirect ( Rect region, FullInspector.Internal.InspectedProperty property, object propertyValue, fiGraphMetadataChild metadataChild ) : object

Draws a GUI for editing the given property and returns the updated value. This does *not* write the updated value to a container.

EditPropertyDirect ( Rect region, FullInspector.Internal.InspectedProperty property, object propertyValue, fiGraphMetadataChild metadataChild, object context ) : object

Draws a GUI for editing the given property and returns the updated value. This does *not* write the updated value to a container.

EditPropertyHeight ( object container, FullInspector.Internal.InspectedProperty property, fiGraphMetadataChild metadata ) : float
EditPropertyHeightDirect ( FullInspector.Internal.InspectedProperty property, object propertyValue, fiGraphMetadataChild metadataChild ) : float
EndFadeGroup ( ) : void
LabeledButton ( Rect rect, GUIContent label, GUIContent button ) : bool

Draws a button with a label in front of the button.

LabeledButton ( Rect rect, string label, string button ) : bool

Draws a button with a label in front of the button.

ObjectField ( Rect rect, GUIContent label, Object element, Type objectType, bool allowSceneObjects ) : Object

Draws a normal EditorGUI.ObjectField, except it includes the component type.

PopHierarchyMode ( ) : void
PushHierarchyMode ( bool state ) : void
Splitter ( Rect position ) : void
TryDragAndDropArea ( Rect dropArea, Predicate filter, Object &droppedObjects ) : bool
UpdateFadeGroupHeight ( float &height, float labelHeight, float fade ) : void
WillShowFadeGroup ( float fade ) : bool
tkControl ( Rect rect, GUIContent label, object element, fiGraphMetadata metadata, tkControlEditor control ) : object

Draws an editor for the given control at the given rect.

tkControlHeight ( GUIContent label, object element, fiGraphMetadata metadata, tkControlEditor control ) : float

Draws an editor for the given control at the given rect.

Приватные методы

Метод Описание
IsWhiteSpaceOnly ( string str ) : bool
RevertPrefabContextMenu ( Rect region, object context, FullInspector.Internal.InspectedProperty property ) : void
SetupContext ( tkControlEditor control, GUIContent label ) : void
fiEditorGUI ( ) : System

Описание методов

AnimatedBegin() публичный статический Метод

public static AnimatedBegin ( Rect &rect, fiGraphMetadata metadata ) : void
rect UnityEngine.Rect
metadata fiGraphMetadata
Результат void

AnimatedEnd() публичный статический Метод

public static AnimatedEnd ( fiGraphMetadata metadata ) : void
metadata fiGraphMetadata
Результат void

AnimatedHeight() публичный статический Метод

public static AnimatedHeight ( float currentHeight, bool updateHeight, fiGraphMetadata metadata ) : float
currentHeight float
updateHeight bool
metadata fiGraphMetadata
Результат float

BeginFadeGroup() публичный статический Метод

public static BeginFadeGroup ( float labelHeight, Rect &group, float fade ) : void
labelHeight float
group UnityEngine.Rect
fade float
Результат void

BeginFadeGroupHeight() публичный статический Метод

public static BeginFadeGroupHeight ( float labelHeight, Rect &group, float fadeHeight ) : void
labelHeight float
group UnityEngine.Rect
fadeHeight float
Результат void

EditProperty() публичный статический Метод

public static EditProperty ( Rect region, object container, FullInspector.Internal.InspectedProperty property, fiGraphMetadataChild metadata ) : void
region UnityEngine.Rect
container object
property FullInspector.Internal.InspectedProperty
metadata fiGraphMetadataChild
Результат void

EditPropertyDirect() публичный статический Метод

Draws a GUI for editing the given property and returns the updated value. This does *not* write the updated value to a container.
public static EditPropertyDirect ( Rect region, FullInspector.Internal.InspectedProperty property, object propertyValue, fiGraphMetadataChild metadataChild ) : object
region UnityEngine.Rect
property FullInspector.Internal.InspectedProperty
propertyValue object
metadataChild fiGraphMetadataChild
Результат object

EditPropertyDirect() публичный статический Метод

Draws a GUI for editing the given property and returns the updated value. This does *not* write the updated value to a container.
public static EditPropertyDirect ( Rect region, FullInspector.Internal.InspectedProperty property, object propertyValue, fiGraphMetadataChild metadataChild, object context ) : object
region UnityEngine.Rect
property FullInspector.Internal.InspectedProperty
propertyValue object
metadataChild fiGraphMetadataChild
context object /// An optional context that the property value came from. If this is not /// given, then a prefab context menu will not be displayable. ///
Результат object

EditPropertyHeight() публичный статический Метод

public static EditPropertyHeight ( object container, FullInspector.Internal.InspectedProperty property, fiGraphMetadataChild metadata ) : float
container object
property FullInspector.Internal.InspectedProperty
metadata fiGraphMetadataChild
Результат float

EditPropertyHeightDirect() публичный статический Метод

public static EditPropertyHeightDirect ( FullInspector.Internal.InspectedProperty property, object propertyValue, fiGraphMetadataChild metadataChild ) : float
property FullInspector.Internal.InspectedProperty
propertyValue object
metadataChild fiGraphMetadataChild
Результат float

EndFadeGroup() публичный статический Метод

public static EndFadeGroup ( ) : void
Результат void

LabeledButton() публичный статический Метод

Draws a button with a label in front of the button.
public static LabeledButton ( Rect rect, GUIContent label, GUIContent button ) : bool
rect UnityEngine.Rect
label UnityEngine.GUIContent
button UnityEngine.GUIContent
Результат bool

LabeledButton() публичный статический Метод

Draws a button with a label in front of the button.
public static LabeledButton ( Rect rect, string label, string button ) : bool
rect UnityEngine.Rect
label string
button string
Результат bool

ObjectField() публичный статический Метод

Draws a normal EditorGUI.ObjectField, except it includes the component type.
public static ObjectField ( Rect rect, GUIContent label, Object element, Type objectType, bool allowSceneObjects ) : Object
rect UnityEngine.Rect
label UnityEngine.GUIContent
element UnityEngine.Object
objectType System.Type
allowSceneObjects bool
Результат UnityEngine.Object

PopHierarchyMode() публичный статический Метод

public static PopHierarchyMode ( ) : void
Результат void

PushHierarchyMode() публичный статический Метод

public static PushHierarchyMode ( bool state ) : void
state bool
Результат void

Splitter() публичный статический Метод

public static Splitter ( Rect position ) : void
position UnityEngine.Rect
Результат void

TryDragAndDropArea() публичный статический Метод

public static TryDragAndDropArea ( Rect dropArea, Predicate filter, Object &droppedObjects ) : bool
dropArea UnityEngine.Rect
filter Predicate
droppedObjects UnityEngine.Object
Результат bool

UpdateFadeGroupHeight() публичный статический Метод

public static UpdateFadeGroupHeight ( float &height, float labelHeight, float fade ) : void
height float
labelHeight float
fade float
Результат void

WillShowFadeGroup() публичный статический Метод

public static WillShowFadeGroup ( float fade ) : bool
fade float
Результат bool

tkControl() публичный статический Метод

Draws an editor for the given control at the given rect.
public static tkControl ( Rect rect, GUIContent label, object element, fiGraphMetadata metadata, tkControlEditor control ) : object
rect UnityEngine.Rect The rect to draw the editor within.
label UnityEngine.GUIContent The label for the edited control.
element object The element to edit.
metadata fiGraphMetadata The metadata to use when editing.
control tkControlEditor /// The actual control that will be used for the editor. ///
Результат object

tkControlHeight() публичный статический Метод

Draws an editor for the given control at the given rect.
public static tkControlHeight ( GUIContent label, object element, fiGraphMetadata metadata, tkControlEditor control ) : float
label UnityEngine.GUIContent The label for the edited control.
element object The element to edit.
metadata fiGraphMetadata The metadata to use when editing.
control tkControlEditor /// The actual control that will be used for the editor. ///
Результат float