C# Класс INPCBindingEditor, ugui-mvvm

Наследование: Editor
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
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

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

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

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
Результат void

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

public static DrawCRefProp ( UnityEditor.SerializedProperty property, GUIContent label, bool resolveDataContext = true ) : void
property UnityEditor.SerializedProperty
label GUIContent
resolveDataContext bool
Результат void

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

Draw all UnityEventBase fields
public static DrawComponentEvents ( UnityEditor.SerializedProperty component, UnityEditor.SerializedProperty eventProperty ) : int
component UnityEditor.SerializedProperty
eventProperty UnityEditor.SerializedProperty
Результат int

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

Draw all UnityEventBase
public static DrawCrefEvents ( UnityEditor.SerializedProperty crefProperty, UnityEditor.SerializedProperty eventProperty ) : int
crefProperty UnityEditor.SerializedProperty
eventProperty UnityEditor.SerializedProperty
Результат int

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

public static GetAllFields ( Type t ) : IEnumerable
t Type
Результат IEnumerable

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

public static GetCPathProperties ( UnityEditor.SerializedProperty property, UnityEditor.SerializedProperty &component, UnityEditor.SerializedProperty &path ) : void
property UnityEditor.SerializedProperty
component UnityEditor.SerializedProperty
path UnityEditor.SerializedProperty
Результат void

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

public static GetEvent ( Component component, UnityEditor.SerializedProperty eventProperty ) : UnityEventBase
component Component
eventProperty UnityEditor.SerializedProperty
Результат UnityEventBase

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

public static GetField ( Type t, string name ) : FieldInfo
t Type
name string
Результат FieldInfo

OnInspectorGUI() публичный Метод

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