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

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

Inheritance diagram for Backbone::EnumFloatArrayDrawer:

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 EnumFloatArray<TEnum>, displays a collapsible list of float fields with the enum names as labels.

Member Function Documentation

◆ GetEnumType()

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

◆ GetPropertyHeight()

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

◆ OnGUI()

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

Member Data Documentation

◆ _isExpanded

bool Backbone::EnumFloatArrayDrawer::_isExpanded = true
private

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