C# Class UnityContrib.UnityEditor.MultilineWithWordWrapPropertyDrawer

Inheritance: UnityEditor.PropertyDrawer
显示文件 Open project: UnityContrib/framework

Public Methods

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

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. ///
return float

MultilineWithWordWrapPropertyDrawer() public method

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

OnGUI() public method

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. ///
return void