C# Class INPCBindingEditor, ugui-mvvm

Inheritance: Editor
Afficher le fichier Open project: jbruening/ugui-mvvm Class Usage Examples

Méthodes publiques

Méthode Description
DrawCRefProp ( UnityEditor.SerializedProperty property, GUIContent label, Type filter, bool resolveDataContext = true ) : void

draw an INPCBinding.ComponentPath property

DrawCRefProp ( UnityEditor.SerializedProperty property, GUIContent label, bool resolveDataContext = true ) : void
DrawComponentEvents ( UnityEditor.SerializedProperty component, UnityEditor.SerializedProperty eventProperty ) : int

Draw all UnityEventBase fields

DrawCrefEvents ( UnityEditor.SerializedProperty crefProperty, UnityEditor.SerializedProperty eventProperty ) : int

Draw all UnityEventBase

GetAllFields ( Type t ) : IEnumerable
GetCPathProperties ( UnityEditor.SerializedProperty property, UnityEditor.SerializedProperty &component, UnityEditor.SerializedProperty &path ) : void
GetEvent ( Component component, UnityEditor.SerializedProperty eventProperty ) : UnityEventBase
GetField ( Type t, string name ) : FieldInfo
OnInspectorGUI ( ) : void

Private Methods

Méthode Description
FigureViewBinding ( INPCBinding binding ) : void
FigureViewBindings ( ) : void
FirstOrDefault ( UnityEditor.SerializedProperty prop, Predicate predicate, bool descendIntoChildren = false ) : UnityEditor.SerializedProperty
IsEventType ( Type type ) : bool
OnPostProcessScene ( ) : void
PathTo ( Component component ) : string
PathTo ( Transform transform ) : string

Method Details

DrawCRefProp() public static méthode

draw an INPCBinding.ComponentPath property
public static DrawCRefProp ( UnityEditor.SerializedProperty property, GUIContent label, Type filter, bool resolveDataContext = true ) : void
property UnityEditor.SerializedProperty
label GUIContent
filter Type
resolveDataContext bool
Résultat void

DrawCRefProp() public static méthode

public static DrawCRefProp ( UnityEditor.SerializedProperty property, GUIContent label, bool resolveDataContext = true ) : void
property UnityEditor.SerializedProperty
label GUIContent
resolveDataContext bool
Résultat void

DrawComponentEvents() public static méthode

Draw all UnityEventBase fields
public static DrawComponentEvents ( UnityEditor.SerializedProperty component, UnityEditor.SerializedProperty eventProperty ) : int
component UnityEditor.SerializedProperty
eventProperty UnityEditor.SerializedProperty
Résultat int

DrawCrefEvents() public static méthode

Draw all UnityEventBase
public static DrawCrefEvents ( UnityEditor.SerializedProperty crefProperty, UnityEditor.SerializedProperty eventProperty ) : int
crefProperty UnityEditor.SerializedProperty
eventProperty UnityEditor.SerializedProperty
Résultat int

GetAllFields() public static méthode

public static GetAllFields ( Type t ) : IEnumerable
t Type
Résultat IEnumerable

GetCPathProperties() public static méthode

public static GetCPathProperties ( UnityEditor.SerializedProperty property, UnityEditor.SerializedProperty &component, UnityEditor.SerializedProperty &path ) : void
property UnityEditor.SerializedProperty
component UnityEditor.SerializedProperty
path UnityEditor.SerializedProperty
Résultat void

GetEvent() public static méthode

public static GetEvent ( Component component, UnityEditor.SerializedProperty eventProperty ) : UnityEventBase
component Component
eventProperty UnityEditor.SerializedProperty
Résultat UnityEventBase

GetField() public static méthode

public static GetField ( Type t, string name ) : FieldInfo
t Type
name string
Résultat FieldInfo

OnInspectorGUI() public méthode

public OnInspectorGUI ( ) : void
Résultat void