C# Class UnityPlatformer.CommentDrawer

Inheritance: UnityEditor.PropertyDrawer
Afficher le fichier Open project: llafuente/unity-platformer

Protected Properties

Свойство Type Description
textHeight float

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float

Calc height needed, right now is always 20

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

Draw

Method Details

GetPropertyHeight() public méthode

Calc height needed, right now is always 20
public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty
label UnityEngine.GUIContent
Résultat float

OnGUI() public méthode

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

Property Details

textHeight protected_oe property

Default height
protected float textHeight
Résultat float