C# Class UnityContrib.UnityEditor.MultilineWithWordWrapPropertyDrawer

Inheritance: UnityEditor.PropertyDrawer
Afficher le fichier Open project: UnityContrib/framework

Méthodes publiques

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

The height of the text area.

MultilineWithWordWrapPropertyDrawer ( ) : UnityContrib.UnityEngine

Initializes a new instance of the T:MultilineWithWordWrapPropertyDrawer class.

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

Draws the editable property.

Method Details

GetPropertyHeight() public méthode

The height of the text area.
public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty /// The SerializedProperty to make the custom GUI for. ///
label UnityEngine.GUIContent /// The label of this property. ///
Résultat float

MultilineWithWordWrapPropertyDrawer() public méthode

Initializes a new instance of the T:MultilineWithWordWrapPropertyDrawer class.
public MultilineWithWordWrapPropertyDrawer ( ) : UnityContrib.UnityEngine
Résultat UnityContrib.UnityEngine

OnGUI() public méthode

Draws the editable property.
public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect /// Rectangle on the screen to use for the property GUI. ///
property UnityEditor.SerializedProperty /// The SerializedProperty to make the custom GUI for. ///
label UnityEngine.GUIContent /// The label of this property. ///
Résultat void