Class SdpTokenDrawer
Property drawer for SdpTokenAttribute, to validate the associated string
property content and display an error message box if invalid characters are found.
Inheritance
SdpTokenDrawer
Assembly: cs.temp.dll.dll
Syntax
public class SdpTokenDrawer : PropertyDrawer
Methods
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type |
Name |
Description |
SerializedProperty |
property |
|
GUIContent |
label |
|
Returns
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type |
Name |
Description |
Rect |
position |
|
SerializedProperty |
property |
|
GUIContent |
label |
|