C# Class UnityPlatformer.CommentDrawer

Inheritance: UnityEditor.PropertyDrawer
Mostrar archivo Open project: llafuente/unity-platformer

Protected Properties

Property Type Description
textHeight float

Private Properties

Property Type Description

Public Methods

Method 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 method

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

OnGUI() public method

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

Property Details

textHeight protected_oe property

Default height
protected float textHeight
return float