SerializableDictionaryPropertyDrawerBase Class Reference

property drawer used to display SerializableDictionry.

Public Member Functions

void DrawBox (Rect position)
 Simple static function used to draw a box at the given rect, factoring in the current indent level.
 
override float GetPropertyHeight (SerializedProperty property, GUIContent label)
 Used to get the height of the dictionary, when drawn.
 
override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
 Function performs the actual drawing of the SerializableDictionary object
 

Static Public Attributes

static bool drawKeyValueHorizontaly
 Static bool that stores the configured option for drawing keyValue pairs horizontally or vertically. When true, the will be drawn horizontally.
 

Protected Member Functions

virtual GUIContent KeyLabel ()
 label to be used for keys. Users may override this function to change the label.
 
virtual GUIContent ValueLabel ()
 label to be used for value sections. Users may override this function to change the label.
 

Protected Attributes

bool expand
 stores the current foldout state of the SerializableDictionaryPropertyDrawer. Changeable by user.
 

Inherits PropertyDrawer.

Inherited by IntbyStringDictionaryDrawer, MatrixByTransformDictionaryDrawer, MeshCameraDictionaryDrawer, and LocalTransformDictionaryPropertyDrawer.