Backbone - Persistence
 
Loading...
Searching...
No Matches
Backbone::EnumIntArrayDrawer Class Reference

Drawer for EnumIntArray<TEnum>, displays a collapsible list of int fields with the enum names as labels. More...

Inheritance diagram for Backbone::EnumIntArrayDrawer:

Public Member Functions

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

Private Member Functions

Type GetEnumType (Type arrayType)
 

Private Attributes

bool _isExpanded = true
 

Detailed Description

Drawer for EnumIntArray<TEnum>, displays a collapsible list of int fields with the enum names as labels.

Member Function Documentation

◆ GetEnumType()

Type Backbone::EnumIntArrayDrawer::GetEnumType ( Type arrayType)
private

◆ GetPropertyHeight()

override float Backbone::EnumIntArrayDrawer::GetPropertyHeight ( SerializedProperty property,
GUIContent label )

◆ OnGUI()

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

Member Data Documentation

◆ _isExpanded

bool Backbone::EnumIntArrayDrawer::_isExpanded = true
private

The documentation for this class was generated from the following file: