C# Класс Ludiq.Reflection.Editor.TargetedDrawer

Наследование: UnityEditor.PropertyDrawer
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
isSelfTargeted bool
targetProperty UnityEditor.SerializedProperty

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

Метод Описание
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float

Calculates the height of the drawer.

OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void

Renders the drawer.

Защищенные методы

Метод Описание
GetSelfTarget ( Object obj ) : Object

Returns the object assigned as self-target from a serialized object.

RenderMemberControl ( Rect position ) : void
RenderTargetControl ( Rect position ) : void
Update ( UnityEditor.SerializedProperty property ) : void

Initializes the members of the drawer via the specified property.

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

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

Calculates the height of the drawer.
public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty
label UnityEngine.GUIContent
Результат float

GetSelfTarget() защищенный Метод

Returns the object assigned as self-target from a serialized object.
protected GetSelfTarget ( Object obj ) : Object
obj UnityEngine.Object
Результат UnityEngine.Object

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

Renders the drawer.
public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect
property UnityEditor.SerializedProperty
label UnityEngine.GUIContent
Результат void

RenderMemberControl() защищенный абстрактный Метод

protected abstract RenderMemberControl ( Rect position ) : void
position UnityEngine.Rect
Результат void

RenderTargetControl() защищенный Метод

protected RenderTargetControl ( Rect position ) : void
position UnityEngine.Rect
Результат void

Update() защищенный Метод

Initializes the members of the drawer via the specified property.
protected Update ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty
Результат void

Описание свойств

isSelfTargeted защищенное свойство

Whether the self-targeted attribute is defined on the inspected field.
protected bool isSelfTargeted
Результат bool

targetProperty защищенное свойство

The UnityMember.target of the inspected property, of type Object.
protected SerializedProperty,UnityEditor targetProperty
Результат UnityEditor.SerializedProperty