C# Class UnityEditor.UI.FontDataDrawer

Inheritance: PropertyDrawer
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
GetPropertyHeight ( SerializedProperty property, GUIContent label ) : float
OnGUI ( Rect position, SerializedProperty property, GUIContent label ) : void

Méthodes protégées

Méthode Description
Init ( SerializedProperty property ) : void

Initialize the serialized properties for the drawer.

Private Methods

Méthode Description
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

Method Details

GetPropertyHeight() public méthode

public GetPropertyHeight ( SerializedProperty property, GUIContent label ) : float
property SerializedProperty
label UnityEngine.GUIContent
Résultat float

Init() protected méthode

Initialize the serialized properties for the drawer.

protected Init ( SerializedProperty property ) : void
property SerializedProperty
Résultat void

OnGUI() public méthode

public OnGUI ( Rect position, SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect
property SerializedProperty
label UnityEngine.GUIContent
Résultat void