Wanzyee Studio
CryptoValueDrawer

UnityEditor.CustomPropertyDrawer for CryptoValue. More...

Inherits PropertyDrawer.

Public Member Functions

override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
 OnGUI, draw inspector of the property. More...
 
override float GetPropertyHeight (SerializedProperty property, GUIContent label)
 Get the height of the property. More...
 

Detailed Description

UnityEditor.CustomPropertyDrawer for CryptoValue.

Draw a text field to edit the plain text, or fallback fields for bool, int, float.

Member Function Documentation

override void OnGUI ( Rect  position,
SerializedProperty  property,
GUIContent  label 
)

OnGUI, draw inspector of the property.

Parameters
positionPosition.
propertyProperty.
labelLabel.
override float GetPropertyHeight ( SerializedProperty  property,
GUIContent  label 
)

Get the height of the property.

Parameters
propertyProperty.
labelLabel.
Returns
The property height.