C# Класс UnityEditor.UI.FontDataDrawer

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

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

Метод Описание
GetPropertyHeight ( SerializedProperty property, GUIContent label ) : float
OnGUI ( Rect position, SerializedProperty property, GUIContent label ) : void

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

Метод Описание
Init ( SerializedProperty property ) : void

Initialize the serialized properties for the drawer.

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

Метод Описание
DoHorizontalAligmentControl ( Rect position, SerializedProperty alignment ) : void
DoTextAligmentControl ( Rect position, SerializedProperty alignment ) : void
DoVerticalAligmentControl ( Rect position, SerializedProperty alignment ) : void
EditorToggle ( Rect position, bool value, GUIContent content, GUIStyle style ) : bool
GetAnchor ( VerticalTextAligment verticalTextAligment, HorizontalTextAligment horizontalTextAligment ) : TextAnchor
GetHorizontalAlignment ( TextAnchor ta ) : HorizontalTextAligment
GetVerticalAlignment ( TextAnchor ta ) : VerticalTextAligment
SetHorizontalAlignment ( SerializedProperty alignment, HorizontalTextAligment horizontalAlignment ) : void
SetVerticalAlignment ( SerializedProperty alignment, VerticalTextAligment verticalAlignment ) : void

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

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

public GetPropertyHeight ( SerializedProperty property, GUIContent label ) : float
property SerializedProperty
label UnityEngine.GUIContent
Результат float

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

Initialize the serialized properties for the drawer.

protected Init ( SerializedProperty property ) : void
property SerializedProperty
Результат void

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

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